diff --git a/src/panels/lovelace/components/hui-card-options.ts b/src/panels/lovelace/components/hui-card-options.ts index f91d5218f4..ec04f21acd 100644 --- a/src/panels/lovelace/components/hui-card-options.ts +++ b/src/panels/lovelace/components/hui-card-options.ts @@ -46,7 +46,7 @@ export class HuiCardOptions extends LitElement { @queryAssignedNodes() private _assignedNodes?: NodeListOf; - @property({ type: Boolean }) public showPosition = false; + @property({ type: Boolean }) public hidePosition = false; @storage({ key: "lovelaceClipboard", @@ -82,36 +82,38 @@ export class HuiCardOptions extends LitElement { >
- - ${this.showPosition - ? html` -
${this.path![1] + 1}
-
` + ${!this.hidePosition + ? html` + + +
${this.path![1] + 1}
+
+ + ` : nothing} -