Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/app/controllers/credential.js2
-rw-r--r--js/app/controllers/share.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/app/controllers/credential.js b/js/app/controllers/credential.js
index ff1650b5..4fa77a96 100644
--- a/js/app/controllers/credential.js
+++ b/js/app/controllers/credential.js
@@ -198,7 +198,7 @@
$scope.settings = SettingsService.getSettings();
};
- if(!SettingsService.getSetting('user_sharing_enabled')){
+ if(!SettingsService.getSetting('settings_loaded')){
$rootScope.$on('settings_loaded', function () {
settingsLoaded();
});
diff --git a/js/app/controllers/share.js b/js/app/controllers/share.js
index 3ac6b0e6..59c73190 100644
--- a/js/app/controllers/share.js
+++ b/js/app/controllers/share.js
@@ -64,7 +64,7 @@
}
};
- if(!SettingsService.getSetting('user_sharing_enabled')){
+ if(!SettingsService.getSetting('settings_loaded')){
$rootScope.$on('settings_loaded', function () {
settingsLoaded();
});