restore 2025-01-14

This commit is contained in:
Hafifie PKB
2025-01-14 23:40:20 +08:00
parent d3ba45a6ca
commit 90b8df1519
4 changed files with 16 additions and 17 deletions
+10 -9
View File
@@ -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 = () =>{