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.
isUserAdmin()
1 parent 9eda048 commit 33a2693Copy full SHA for 33a2693
src/store.js
@@ -89,7 +89,7 @@ const store = new Vuex.Store({
89
perms.allowSaveLocally = false;
90
}
91
// Disable saving changes to disk, only
92
- if (appConfig.preventWriteToDisk || !isUserAdmin) {
+ if (appConfig.preventWriteToDisk || !isUserAdmin()) {
93
perms.allowWriteToDisk = false;
94
95
// Legacy Option: Will be removed in V 2.1.0
0 commit comments