We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 644184f commit cc768b2Copy full SHA for cc768b2
src/main.js
@@ -68,7 +68,7 @@ store.commit('loadLocalCredentials', SERVER_AUTHENTICATED);
68
69
// Before loading a new route check if the user is authorised
70
router.beforeEach((to, from, next) => {
71
- if (from.path === '/schema/design') {
+ if (from.path === '/design/schema') {
72
if (global.graknTx && global.graknTx.schemaDesign) global.graknTx.schemaDesign.close();
73
if (global.graknSession && global.graknSession.type() === SessionType.SCHEMA) global.graknSession.close();
74
}
0 commit comments