mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
vault listing page fixes
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
angular
|
||||
.module('bit.components')
|
||||
|
||||
.component('icon', {
|
||||
bindings: {
|
||||
uri: '<'
|
||||
},
|
||||
bindings: {
|
||||
uri: '<'
|
||||
},
|
||||
template: '<div class="icon" ng-if="$ctrl.enabled()"><img src="{{$ctrl.url}}"></div>',
|
||||
controller: function(stateService) {
|
||||
this.$onInit = (function() {
|
||||
this.enabled = function() {
|
||||
controller: function (stateService) {
|
||||
this.$onInit = (function () {
|
||||
this.enabled = function () {
|
||||
return stateService.getState('faviconEnabled');
|
||||
};
|
||||
}).bind(this);
|
||||
|
||||
Reference in New Issue
Block a user