Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m43s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m43s
This commit is contained in:
commit
f7f4da2583
1 changed files with 5 additions and 5 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue