Et2Tag: Fix edit button was missing

This commit is contained in:
nathan 2023-11-24 15:01:16 -07:00 committed by ralf
parent a58900656f
commit 061ac858b7

View File

@ -107,7 +107,7 @@ export class Et2Tag extends Et2Widget(SlTag)
${this.editable ? html` ${this.editable ? html`
<et2-button-icon <et2-button-icon
label=${this.egw().lang("edit")} label=${this.egw().lang("edit")}
name="pencil" image="pencil"
@click=${this.startEdit} @click=${this.startEdit}
></et2-button-icon>` : '' ></et2-button-icon>` : ''
} }
@ -193,6 +193,7 @@ export class Et2Tag extends Et2Widget(SlTag)
{ {
event.stopPropagation(); event.stopPropagation();
} }
this.getRootNode().host.hide()
this.isEditing = true; this.isEditing = true;
this.requestUpdate(); this.requestUpdate();
this.updateComplete.then(() => this.updateComplete.then(() =>