diff --git a/src/popup/app/components/iconComponent.js b/src/popup/app/components/iconComponent.js index 86226c6ee7..020a4425f1 100644 --- a/src/popup/app/components/iconComponent.js +++ b/src/popup/app/components/iconComponent.js @@ -11,9 +11,9 @@ angular '', controller: function (stateService, constantsService) { var ctrl = this; + ctrl.enabled = stateService.getState('faviconEnabled'); ctrl.$onChanges = function () { - ctrl.enabled = stateService.getState('faviconEnabled'); if (ctrl.enabled) { switch (ctrl.cipher.type) { case constantsService.cipherType.login: