mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 08:34:14 +01:00
🔒 Fix, correct call of isUserAdmin() M(#590)
This commit is contained in:
parent
9eda048842
commit
33a2693c7f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue