This commit is contained in:
2020-05-15 18:29:22 +00:00
parent 60f2511c5c
commit c866ad684f
4 changed files with 26 additions and 5 deletions

View File

@@ -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