From 33a2693c7fc7e8833e1e96b2401b489ffa29f64b Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 15 May 2022 20:48:31 +0100 Subject: [PATCH] :lock: Fix, correct call of `isUserAdmin()` M(#590) --- src/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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