diff --git a/src/panels/lovelace/editor/select-dashboard/hui-dialog-select-dashboard.ts b/src/panels/lovelace/editor/select-dashboard/hui-dialog-select-dashboard.ts index f132c66638..7e251c47b7 100644 --- a/src/panels/lovelace/editor/select-dashboard/hui-dialog-select-dashboard.ts +++ b/src/panels/lovelace/editor/select-dashboard/hui-dialog-select-dashboard.ts @@ -140,9 +140,7 @@ export class HuiDialogSelectDashboard extends LitElement { mode: this.hass.panels.lovelace?.config?.mode, }, ...(this._params!.dashboards || (await fetchDashboards(this.hass))), - ].filter( - (dashboard) => this.hass.user!.is_admin || !dashboard.require_admin - ); + ]; const currentPath = this._fromUrlPath || this.hass.defaultPanel; for (const dashboard of this._dashboards!) { diff --git a/src/panels/lovelace/editor/select-view/hui-dialog-select-view.ts b/src/panels/lovelace/editor/select-view/hui-dialog-select-view.ts index b38b0daf1d..a483b4cc32 100644 --- a/src/panels/lovelace/editor/select-view/hui-dialog-select-view.ts +++ b/src/panels/lovelace/editor/select-view/hui-dialog-select-view.ts @@ -90,18 +90,15 @@ export class HuiDialogSelectView extends LitElement { > Default - ${this._dashboards.map((dashboard) => { - if (!this.hass.user!.is_admin && dashboard.require_admin) { - return ""; - } - return html` + ${this._dashboards.map( + (dashboard) => html` ${dashboard.title} - `; - })} + ` + )} ` : ""} ${!this._config || (this._config.views || []).length < 1