Merge pull request #2257 from detjonmataj/v14/fix/dictionary-item-misleading-description-when-name-not-set

Fix: Update dictionary's name fallback value when using it as a placeholder in `dictionaryItem_description` localization term
This commit is contained in:
Niels Lyngsø
2024-09-09 11:57:46 +02:00
committed by GitHub

View File

@@ -84,7 +84,7 @@ export class UmbWorkspaceViewDictionaryEditorElement extends UmbLitElement {
override render() {
return html`
<uui-box>
${unsafeHTML(this.localize.term('dictionaryItem_description', this._dictionary?.name || 'unnamed'))}
${unsafeHTML(this.localize.term('dictionaryItem_description', this._dictionary?.name || '&#8203;'))}
${repeat(
this._languages,
(item) => item.unique,