Fix showDetail function in multiple components

This commit is contained in:
Dede Fuji Abdul
2024-04-02 03:26:36 +07:00
parent 6b1b0981e2
commit bf2425a5f1
33 changed files with 33 additions and 33 deletions

View File

@ -510,6 +510,7 @@ const getDetail = async () => {
})
.finally(() => {
loadingSubData.value = false
dialogDetail.value = true
})
}
@ -521,7 +522,6 @@ const clearSelection = () => {
const showDetail = () => {
clearSelection()
dataSubSelected.value = null
dialogDetail.value = true
if (detailType.value == 'table') {
getDetail()
}

View File

@ -309,6 +309,7 @@ const getDetail = async () => {
})
.finally(() => {
loadingSubData.value = false
dialogDetail.value = true
})
}
@ -320,7 +321,6 @@ const clearSelection = () => {
const showDetail = () => {
clearSelection()
dataSubSelected.value = null
dialogDetail.value = true
getDetail()
}