refactor(notification): update icon and text display
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m42s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m42s
This commit is contained in:
parent
607457e921
commit
c0aa285675
1 changed files with 6 additions and 6 deletions
|
|
@ -570,15 +570,15 @@ function handleDeleteNotification() {
|
||||||
showLoader();
|
showLoader();
|
||||||
await http.delete(config.API.msgNotificate);
|
await http.delete(config.API.msgNotificate);
|
||||||
await getDataNotification(1, "DEL");
|
await getDataNotification(1, "DEL");
|
||||||
success($q, "ลบข้อมูลสำเร็จ");
|
success($q, "รล้างการแจ้งสำเร็จ");
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
messageError($q, error);
|
messageError($q, error);
|
||||||
} finally {
|
} finally {
|
||||||
hideLoader();
|
hideLoader();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ยืนยันการลบข้อมูล",
|
"ยืนยันการล้างการแจ้งเตือนทั้งหมด",
|
||||||
"ต้องการยืนยันการลบรายการแจ้งเตือนทั้งหมดใช่หรือไม่?"
|
"ต้องการยืนยันการล้างการแจ้งเตือนทั้งหมดทั้งหมดใช่หรือไม่?"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -667,11 +667,11 @@ function handleDeleteNotification() {
|
||||||
flat
|
flat
|
||||||
dense
|
dense
|
||||||
round
|
round
|
||||||
color="red"
|
color="grey-7"
|
||||||
icon="delete"
|
icon="mdi-trash-can-outline"
|
||||||
@click.stop.prevent="handleDeleteNotification"
|
@click.stop.prevent="handleDeleteNotification"
|
||||||
>
|
>
|
||||||
<q-tooltip>ลบการแจ้งเตือนทั้งหมด</q-tooltip>
|
<q-tooltip>ล้างการแจ้งเตือนทั้งหมด</q-tooltip>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue