Compare commits

...

2 commits

Author SHA1 Message Date
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
f7f4da2583 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m43s
2026-04-24 10:35:44 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
a5ba0290d9 fix: Move dialogs inside q-layout in MainLayout.vue 2026-04-24 10:35:30 +07:00

View file

@ -172,13 +172,13 @@ const doLogout = () => {
);
};
const clickDelete = async (id: string, index: number) => {
const clickDelete = async (id: string, index: number | string) => {
dialogRemove($q, async () => {
// showLoader();
await http
.delete(config.API.msgId(id))
.then(() => {
notiList.value.splice(index, 1);
notiList.value.splice(Number(index), 1);
totalInbox.value--;
totalNoti.value--;
success($q, "ลบข้อมูลสำเร็จ");
@ -772,10 +772,10 @@ watch(
<q-footer class="bg-grey-1 text-dark q-pa-md">
<FooterContact />
</q-footer>
</q-layout>
<DialogResetPass v-model="modalResetPass" />
<DialogDebug v-model:modal="modalDebug" />
<DialogResetPass v-model="modalResetPass" />
<DialogDebug v-model:modal="modalDebug" />
</q-layout>
</template>
<style>