diff --git a/light9/web/EditChoice.ts b/light9/web/EditChoice.ts --- a/light9/web/EditChoice.ts +++ b/light9/web/EditChoice.ts @@ -62,6 +62,7 @@ function setupDrop( @customElement("edit-choice") export class EditChoice extends LitElement { @property() uri?: NamedNode + @property({ type: Boolean }) nounlink = false; static styles = [ css` :host { @@ -83,9 +84,12 @@ export class EditChoice extends LitEleme `, ]; render() { + const unlink = html` + + ` return html` - + ${this.nounlink ? html`` : unlink} `; }