1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 03:33:54 +00:00

icons url for self hosted instances

This commit is contained in:
Kyle Spearrin
2017-10-23 18:11:29 -04:00
parent 4323341d19
commit b52ecd8085
7 changed files with 10 additions and 10 deletions

View File

@@ -2,8 +2,7 @@
.module('bit.settings')
.controller('settingsController', function ($scope, $state, $uibModal, apiService, toastr, authService, $localStorage,
appSettings, $rootScope, cipherService) {
$scope.selfHosted = appSettings.selfHosted;
$rootScope, cipherService) {
$scope.model = {
profile: {},
email: null,
@@ -61,10 +60,8 @@
};
$scope.optionsSave = function () {
if (!$scope.selfHosted) {
$localStorage.disableWebsiteIcons = cipherService.disableWebsiteIcons = $scope.model.disableWebsiteIcons;
$rootScope.vaultCiphers = null;
}
$localStorage.disableWebsiteIcons = cipherService.disableWebsiteIcons = $scope.model.disableWebsiteIcons;
$rootScope.vaultCiphers = null;
toastr.success('Options have been updated.', 'Success!');
};

View File

@@ -86,7 +86,7 @@
</div>
</form>
</div>
<div class="box box-default" ng-if="!selfHosted">
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">Web Vault Options</h3>
</div>