mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Fix wait for not loaded panel (#9478)
This commit is contained in:
parent
9594c8106e
commit
76daeb7e55
@ -43,7 +43,7 @@ const COMPONENTS = {
|
||||
class PartialPanelResolver extends HassRouterPage {
|
||||
@property({ attribute: false }) public hass!: HomeAssistant;
|
||||
|
||||
@property() public narrow?: boolean;
|
||||
@property({ type: Boolean }) public narrow?: boolean;
|
||||
|
||||
private _waitForStart = false;
|
||||
|
||||
@ -206,7 +206,7 @@ class PartialPanelResolver extends HassRouterPage {
|
||||
this._currentPage &&
|
||||
!this.hass.panels[this._currentPage]
|
||||
) {
|
||||
if (this.hass.config.state !== STATE_NOT_RUNNING) {
|
||||
if (this.hass.config.state === STATE_NOT_RUNNING) {
|
||||
this._waitForStart = true;
|
||||
if (this.lastChild) {
|
||||
this.removeChild(this.lastChild);
|
||||
|
Loading…
x
Reference in New Issue
Block a user