This commit is contained in:
JesmoDev
2024-04-10 13:47:16 +02:00
parent 9a436f3d8d
commit 4468a9cdac

View File

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