Bugfix: Media workspace info references correct localization

for "this item has no references".

Fixes https://github.com/umbraco/Umbraco-CMS/issues/16485
This commit is contained in:
leekelleher
2024-05-30 10:48:01 +01:00
parent c68d9642e5
commit 7f485ec3b8

View File

@@ -135,7 +135,7 @@ export class UmbMediaWorkspaceViewInfoReferenceElement extends UmbLitElement {
}
#renderItems() {
if (!this._items?.length) return html`<p>${this.localize.term('references_DataTypeNoReferences')}</p>`;
if (!this._items?.length) return html`<p>${this.localize.term('references_itemHasNoReferences')}</p>`;
return html`
<uui-table>
<uui-table-head>