fixing
This commit is contained in:
parent
87338542ca
commit
e8e2a6f83e
1 changed files with 5 additions and 6 deletions
|
|
@ -427,11 +427,6 @@ if (keycloak.tokenParsed != null) {
|
|||
role.value = keycloak.tokenParsed.role;
|
||||
}
|
||||
|
||||
const totalInbox = ref<number>(0);
|
||||
const totalNoti = ref<number>(0);
|
||||
const round = ref<number>(0);
|
||||
const page = ref<number>(0);
|
||||
|
||||
const clickDelete = async (id: string, index: number) => {
|
||||
dialogRemove($q, async () => {
|
||||
showLoader();
|
||||
|
|
@ -441,7 +436,6 @@ const clickDelete = async (id: string, index: number) => {
|
|||
notiList.value.splice(index, 1);
|
||||
success($q, "ลบข้อมูลสำเร็จ");
|
||||
totalInbox.value--;
|
||||
totalNoti.value--;
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
@ -453,6 +447,11 @@ const clickDelete = async (id: string, index: number) => {
|
|||
});
|
||||
};
|
||||
|
||||
const totalInbox = ref<number>(0);
|
||||
const totalNoti = ref<number>(0);
|
||||
const round = ref<number>(0);
|
||||
const page = ref<number>(0);
|
||||
|
||||
function onLoad(index: any, done: any) {
|
||||
if (
|
||||
notiList.value.length < totalInbox.value ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue