fixed popup deletion

(cherry picked from commit b55bf0918fed0c5c997e12f983616f7f1f152567)
This commit is contained in:
Yashpal Patle 2025-08-26 18:18:39 +00:00 committed by Mergify
parent 4f113fab91
commit ee964637ac

View File

@ -106,6 +106,9 @@ function convertToDeal(selections, unselectAll) {
} }
function deleteValues(selections, unselectAll) { function deleteValues(selections, unselectAll) {
unselectAllAction.value = unselectAll
const selectedDocs = Array.from(selections) const selectedDocs = Array.from(selections)
if (selectedDocs.length == 1) { if (selectedDocs.length == 1) {
showDeleteDocModal.value = { showDeleteDocModal.value = {
@ -217,6 +220,14 @@ function bulkActions(selections, unselectAll) {
} }
function reload(unselectAll) { function reload(unselectAll) {
showDeleteDocModal.value = {
showLinkedDocsModal: false,
showDeleteModal: false,
docname: null,
};
unselectAllAction.value?.() unselectAllAction.value?.()
unselectAll?.() unselectAll?.()
list.value?.reload() list.value?.reload()