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:
@@ -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!');
|
||||
};
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user