Skip to content

Commit cc768b2

Browse files
committed
Fix workbase schema lock
1 parent 644184f commit cc768b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ store.commit('loadLocalCredentials', SERVER_AUTHENTICATED);
6868

6969
// Before loading a new route check if the user is authorised
7070
router.beforeEach((to, from, next) => {
71-
if (from.path === '/schema/design') {
71+
if (from.path === '/design/schema') {
7272
if (global.graknTx && global.graknTx.schemaDesign) global.graknTx.schemaDesign.close();
7373
if (global.graknSession && global.graknSession.type() === SessionType.SCHEMA) global.graknSession.close();
7474
}

0 commit comments

Comments
 (0)