This commit is contained in:
@@ -303,6 +303,10 @@ export default {
|
||||
//redirect to login if not authenticated
|
||||
if (!this.$store.state.authenticated) {
|
||||
this.$router.push("login");
|
||||
} else {
|
||||
//this can be safely called any time, it checks if there is an open object in store and
|
||||
//opens it or if not just returns
|
||||
window.$gz.eventBus.$emit("openobject", null);
|
||||
}
|
||||
|
||||
//FUTURE: If need to detect a reload, this works reliably
|
||||
|
||||
Reference in New Issue
Block a user