Added auto-open object and also some fixes for vuex store issues revealed when adding this feature
This commit is contained in:
@@ -41,6 +41,11 @@ export function processLogin(response) {
|
||||
return reject();
|
||||
}
|
||||
|
||||
|
||||
//ensure the store is clean first in case we didn't come here from a clean logout
|
||||
window.$gz.store.commit("logout");
|
||||
sessionStorage.clear(); //clear all temporary session storage data
|
||||
|
||||
//Put app relevant items into vuex store so app can use them
|
||||
window.$gz.store.commit("login", {
|
||||
apiToken: response.data.token,
|
||||
|
||||
Reference in New Issue
Block a user