diff --git a/src/install-dialog.ts b/src/install-dialog.ts index 4fdcc94..ee20591 100644 --- a/src/install-dialog.ts +++ b/src/install-dialog.ts @@ -1,6 +1,5 @@ import { LitElement, html, PropertyValues, css, TemplateResult } from "lit"; import { state } from "lit/decorators.js"; -import { ifDefined } from "lit/directives/if-defined.js"; import "./components/ewt-dialog"; import "./components/ewt-textfield"; import "./components/ewt-button"; @@ -88,7 +87,9 @@ class EwtInstallDialog extends LitElement { heading = "Error"; content = this._renderMessage(ERROR_ICON, this._error!, true); } else if (this._state === "DASHBOARD") { - [heading, content, hideActions, allowClosing] = this._renderDashboard(); + [heading, content, hideActions, allowClosing] = this._client + ? this._renderDashboard() + : this._renderDashboardNoImprov(); } else if (this._state === "PROVISION") { [heading, content, hideActions] = this._renderProvision(); } else if (this._state === "LOGS") { @@ -161,7 +162,7 @@ class EwtInstallDialog extends LitElement {