Merge pull request #1218 from frappe/mergify/bp/main-hotfix/pr-1192
fix: Popup doesn't close after deletion (backport #1192)
This commit is contained in:
commit
2ac8a06bae
@ -106,6 +106,8 @@ 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 +219,12 @@ 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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user