fix button labels

This commit is contained in:
JesmoDev
2024-05-28 11:01:16 +02:00
committed by Jacob Overgaard
parent 4edfbb8a8f
commit 5493f10625
2 changed files with 3 additions and 4 deletions

View File

@@ -215,8 +215,7 @@ export class UmbRollbackModalElement extends UmbModalBaseElement<UmbRollbackModa
@click=${(event: Event) => this.#onPreventCleanup(event, item.id, !item.preventCleanup)}
label=${item.preventCleanup
? this.localize.term('contentTypeEditor_historyCleanupEnableCleanup')
: this.localize.term('contentTypeEditor_historyCleanupPreventCleanup')}>
</uui-button>
: this.localize.term('contentTypeEditor_historyCleanupPreventCleanup')}></uui-button>
</div>
`;
},

View File

@@ -104,8 +104,8 @@ export class UmbDocumentWorkspaceViewInfoHistoryElement extends UmbLitElement {
look="secondary"
slot="actions"
@click=${this.#onRollbackModalOpen}>
<uui-icon name="icon-undo"></uui-icon>
</uui-button>
<uui-icon name="icon-undo"></uui-icon> ${this.localize.term('actions_rollback')}</uui-button
>
</div>
${this._items ? this.#renderHistory() : html`<uui-loader-circle></uui-loader-circle> `}
${this.#renderPagination()}