only show inheritance if pure composition ownership

This commit is contained in:
Niels Lyngsø
2024-04-30 22:56:15 +02:00
parent e4923c8db0
commit 8ad2aced4e

View File

@@ -169,7 +169,7 @@ export class UmbContentTypeWorkspaceViewEditGroupElement extends UmbLitElement {
@change=${this.#renameGroup}
@blur=${this.#blurGroup}
${this._group!.name === '' ? umbFocus() : nothing}></uui-input>
${this._inherited && this._inheritedFrom
${this._hasOwnerContainer === false && this._inheritedFrom
? html`<uui-tag look="default" class="inherited">
<uui-icon name="icon-merge"></uui-icon>
<span