CollectionView: Fixed bug in Bulk Action Permissions

The `allowBulkPublish` was previously checking
the value of `allowBulkUnpublish`.
This commit is contained in:
leekelleher
2024-02-08 17:05:07 +00:00
parent 55572b3bb2
commit 8db399b3eb

View File

@@ -76,7 +76,7 @@ export class UmbPropertyEditorUICollectionViewBulkActionPermissionsElement
render() {
return html`<uui-toggle
?checked=${this.value.allowBulkUnpublish}
?checked=${this.value.allowBulkPublish}
@change=${(e: UUIBooleanInputEvent) => this.#onChange(e, 'allowBulkPublish')}
label="Allow bulk publish (content only)"></uui-toggle>
<uui-toggle
@@ -94,7 +94,7 @@ export class UmbPropertyEditorUICollectionViewBulkActionPermissionsElement
<uui-toggle
?checked=${this.value.allowBulkDelete}
@change=${(e: UUIBooleanInputEvent) => this.#onChange(e, 'allowBulkDelete')}
label="Allow bulk delete"></uui-toggle> `;
label="Allow bulk delete"></uui-toggle>`;
}
static styles = [