changes from server 2025/05/15
This commit is contained in:
Vendored
+5
-5
@@ -17,14 +17,14 @@ const Toast = Swal.mixin({
|
||||
|
||||
const notify = new NotifyKhazanah(channel,event,apikey);
|
||||
notify.channel_subscribe((data) => {
|
||||
console.log(data);
|
||||
Toast.fire({
|
||||
icon: 'info',
|
||||
title: 'Permohonan Kelulusan Wang Tunai Teller!'
|
||||
});
|
||||
const currentPath = window.location.pathname;
|
||||
|
||||
if(window.kodcaw == data.cawangan){
|
||||
Toast.fire({
|
||||
icon: 'info',
|
||||
title: 'Permohonan Kelulusan Wang Tunai Teller!'
|
||||
});
|
||||
|
||||
if (currentPath === "/home") {
|
||||
notify_main();
|
||||
} else if (currentPath === "/menu") {
|
||||
|
||||
Reference in New Issue
Block a user