Skip to content

Commit

Permalink
Folder delete : checkbox for all folders (sub and parents)
Browse files Browse the repository at this point in the history
  • Loading branch information
deelanM committed Apr 2, 2021
1 parent 0c3a386 commit 3d4050a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/ui/routes/mailings/__partials/workspace-tree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ export default {
selectedItem() {
return { id: this.currentLocation };
},
confirmCheckBox() {
return !!this.selectedItemToDelete?.children;
},
},
async mounted() {
await this.fetchData();
Expand Down Expand Up @@ -206,7 +203,7 @@ export default {
<bs-modal-confirm-form
ref="deleteDialog"
:with-input-confirmation="false"
:confirm-check-box="confirmCheckBox"
confirm-check-box
:confirm-check-box-message="$t('groups.mailingTab.deleteFolderNotice')"
@confirm="handleDelete"
>
Expand Down

0 comments on commit 3d4050a

Please sign in to comment.