Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m52s

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-05-14 13:36:04 +07:00
commit 62acc3a5c8

View file

@ -43,6 +43,11 @@ export const useSocketStore = defineStore("socket", () => {
notifyStatusOrg("current", body.message, body.success); notifyStatusOrg("current", body.message, body.success);
} }
}); });
socket.on("socket-notification", (payload) => {
let body: sockeBackup = JSON.parse(payload);
notifyStatus(body.message, body.success);
});
} }
function notifyStatus(message: string, success?: boolean) { function notifyStatus(message: string, success?: boolean) {