diff --git a/light9/homepage/ServiceButtonRow.ts b/light9/homepage/ServiceButtonRow.ts --- a/light9/homepage/ServiceButtonRow.ts +++ b/light9/homepage/ServiceButtonRow.ts @@ -5,7 +5,7 @@ export { StatsLine } from "./StatsLine"; @customElement("service-button-row") export class ServiceButtonRow extends LitElement { @property() name: string = "?"; - @property({ attribute: "metrics" }) hasMetrics: boolean = false; + @property({ type:Boolean, attribute: "metrics" }) hasMetrics: boolean = false; static styles = [ css` :host { diff --git a/light9/web/ResourceDisplay.ts b/light9/web/ResourceDisplay.ts --- a/light9/web/ResourceDisplay.ts +++ b/light9/web/ResourceDisplay.ts @@ -76,8 +76,9 @@ export class ResourceDisplay extends Lit @property() uri?: NamedNode | string; @state() label: string = ""; - @property() rename: boolean = false; - @property() minor: boolean = false; + + @property({type: Boolean}) rename: boolean = false; + @property({type: Boolean}) minor: boolean = false; // @state() renameTo: String; notify: true }; constructor() {