feat: setup wss
This commit is contained in:
@@ -51,6 +51,9 @@ export const getters = {
|
||||
},
|
||||
|
||||
getCurrentAccountId(_, __, rootState) {
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
if (window.__WOOT_ACCOUNT_ID__) return window.__WOOT_ACCOUNT_ID__;
|
||||
|
||||
if (rootState.route.params && rootState.route.params.accountId) {
|
||||
return Number(rootState.route.params.accountId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user