diff --git a/src/store.js b/src/store.js index da176930..1fa246cd 100644 --- a/src/store.js +++ b/src/store.js @@ -89,7 +89,7 @@ const store = new Vuex.Store({ perms.allowSaveLocally = false; } // Disable saving changes to disk, only - if (appConfig.preventWriteToDisk || !isUserAdmin) { + if (appConfig.preventWriteToDisk || !isUserAdmin()) { perms.allowWriteToDisk = false; } // Legacy Option: Will be removed in V 2.1.0