# HG changeset patch # User drewp@bigasterisk.com # Date 1685428628 25200 # Node ID 0a11698fecc4627b29c7eb578a3809d00fbb7bd6 # Parent 1281b46778623b3f833a826ee95412687e4d7cb7 look who just read https://lit.dev/docs/components/properties/#boolean-attributes diff -r 1281b4677862 -r 0a11698fecc4 light9/homepage/ServiceButtonRow.ts --- a/light9/homepage/ServiceButtonRow.ts Mon May 29 23:08:55 2023 -0700 +++ b/light9/homepage/ServiceButtonRow.ts Mon May 29 23:37:08 2023 -0700 @@ -5,7 +5,7 @@ @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 -r 1281b4677862 -r 0a11698fecc4 light9/web/ResourceDisplay.ts --- a/light9/web/ResourceDisplay.ts Mon May 29 23:08:55 2023 -0700 +++ b/light9/web/ResourceDisplay.ts Mon May 29 23:37:08 2023 -0700 @@ -76,8 +76,9 @@ @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() {