restore 2025-01-14
This commit is contained in:
Vendored
+10
-9
@@ -24,14 +24,16 @@ notify.channel_subscribe((data) => {
|
||||
});
|
||||
const currentPath = window.location.pathname;
|
||||
|
||||
if (currentPath === "/home") {
|
||||
notify_main();
|
||||
} else if (currentPath === "/menu") {
|
||||
notify_khazanah_main();
|
||||
}else if(currentPath === '/pendahuluan'){
|
||||
notify_pendahuluan();
|
||||
}else if(currentPath === '/serahan'){
|
||||
notify_serahan();
|
||||
if(window.kodcaw == data.cawangan){
|
||||
if (currentPath === "/home") {
|
||||
notify_main();
|
||||
} else if (currentPath === "/menu") {
|
||||
notify_khazanah_main();
|
||||
}else if(currentPath === '/pendahuluan'){
|
||||
notify_pendahuluan();
|
||||
}else if(currentPath === '/serahan'){
|
||||
notify_serahan();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
@@ -59,7 +61,6 @@ let notify_main = () =>{
|
||||
}
|
||||
|
||||
button.classList.add('btn-danger');
|
||||
button.classList.add('heartbeat');
|
||||
}
|
||||
|
||||
let notify_khazanah_main = () =>{
|
||||
|
||||
Reference in New Issue
Block a user