Skip to content

Commit 45884e1

Browse files
committed
fix: don't unsublscribe from all websocket, when we are subscribe to badges socket
https://web.tracklify.com/project/2b7ZVgE5/AdminForth/1293/VZgUq1zq/find-out-why-do-we-unsubscribe
1 parent 5568450 commit 45884e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adminforth/spa/src/stores/core.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ export const useCoreStore = defineStore('core', () => {
121121
item.badge = badge;
122122
}
123123
});
124-
websocket.unsubscribeAll();
124+
// TODO: This thing was created for something. Find out why
125+
// websocket.unsubscribeAll();
125126
subscribeToMenuBadges();
126127

127128
}

0 commit comments

Comments
 (0)