mirror of
https://github.com/bitwarden/browser
synced 2026-01-04 09:33:27 +00:00
vault listing page fixes
This commit is contained in:
18
src/popup/app/components/actionButtonsComponent.js
Normal file
18
src/popup/app/components/actionButtonsComponent.js
Normal file
@@ -0,0 +1,18 @@
|
||||
angular
|
||||
.module('bit.components')
|
||||
|
||||
.component('actionButtonsComponent', {
|
||||
bindings: {
|
||||
uri: '<'
|
||||
},
|
||||
template: '',
|
||||
controller: function (stateService) {
|
||||
this.$onInit = (function () {
|
||||
|
||||
}).bind(this);
|
||||
|
||||
this.$onChanges = (function () {
|
||||
|
||||
}).bind(this);
|
||||
}
|
||||
});
|
||||
@@ -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