Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m52s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m52s
This commit is contained in:
commit
62acc3a5c8
1 changed files with 5 additions and 0 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue