Added auto-open object and also some fixes for vuex store issues revealed when adding this feature

This commit is contained in:
2020-05-15 19:38:27 +00:00
parent c866ad684f
commit 49a0ee4c78
6 changed files with 39 additions and 20 deletions

View File

@@ -260,7 +260,7 @@ export default {
auth
.authenticate(vm.input.username, vm.input.password)
.then(() => {
if (vm.$store.state.openObject) {
if (vm.$store.state.openObject != null) {
window.$gz.eventBus.$emit("openobject", null);
} else {
vm.$router.push(vm.$store.state.homePage);