Refactor dialogDetail variable names in Vue components

This commit is contained in:
Dede Fuji Abdul
2024-03-20 17:10:15 +07:00
parent 9d75cdf7c2
commit b472cd29a7
27 changed files with 547 additions and 180 deletions

View File

@ -131,7 +131,7 @@
</div>
<DetailDialog
:open="showDetail"
:open="dialogDetail"
title="Detail Gangguan Belum Selesai"
@on-close="closeDialog"
:full-width="true"
@ -470,15 +470,15 @@ const data = ref<any[]>([])
const dataSub = ref<any[]>([])
const dataSelected = ref<any>()
const dataSubSelected = ref<any>()
const showDetail = ref(false)
const dialogDetail = ref(false)
const loadingSubData = ref(false)
const showDialog = () => {
showDetail.value = true
dialogDetail.value = true
}
const closeDialog = () => {
showDetail.value = false
dialogDetail.value = false
}
const { onResult, onError, loading, refetch } = useQuery(