From 1db34b22ec3b7d1ef4838653ee15e61bec8fa134 Mon Sep 17 00:00:00 2001 From: xavix-yo Date: Tue, 21 Jul 2026 09:45:10 +0100 Subject: [PATCH] frontend: small fix --- web/components/plugin-detail.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/components/plugin-detail.js b/web/components/plugin-detail.js index 5e7abc2..caf46f1 100644 --- a/web/components/plugin-detail.js +++ b/web/components/plugin-detail.js @@ -275,9 +275,13 @@ export class PluginDetailPage extends LightElement { _renderConfig() { const p = this._plugin; - // Defer to the plugin's own admin page when it ships one. - if (this._customPage) return this._renderConfigLink(); const fields = schemaFields(p.config_schema); + // Defer to the plugin's own admin page only when there is no generic + // instance-config to show. A plugin like mobile-connector ships operational + // pages (pairing, devices) *alongside* a real `config_schema` (relay_url, + // …); those pages are complements — already reachable from the sidebar — not + // replacements, so the config form must still render. + if (fields.length === 0 && this._customPage) return this._renderConfigLink(); const draft = this._draft || {}; return html`