`;
}
_renderConfig() {
const p = this._plugin;
const fields = schemaFields(p.config_schema);
// The plugin hosts its own config UI in one of its pages (e.g. the mobile
// connector's settings dialog): link out instead of duplicating the form.
if (p.config_in_detail_page === false) {
return this._customPage ? this._renderConfigLink() : nothing;
}
// Defer to the plugin's own admin page only when there is no generic
// instance-config to show.
if (fields.length === 0 && this._customPage) return this._renderConfigLink();
const draft = this._draft || {};
return html`