diff --git a/frontend/src/components/ListBulkActions.vue b/frontend/src/components/ListBulkActions.vue index 75026362..1a036703 100644 --- a/frontend/src/components/ListBulkActions.vue +++ b/frontend/src/components/ListBulkActions.vue @@ -106,6 +106,8 @@ function convertToDeal(selections, unselectAll) { } function deleteValues(selections, unselectAll) { + unselectAllAction.value = unselectAll + const selectedDocs = Array.from(selections) if (selectedDocs.length == 1) { showDeleteDocModal.value = { @@ -217,6 +219,12 @@ function bulkActions(selections, unselectAll) { } function reload(unselectAll) { + showDeleteDocModal.value = { + showLinkedDocsModal: false, + showDeleteModal: false, + docname: null, + } + unselectAllAction.value?.() unselectAll?.() list.value?.reload()