fixed local bank being null on init
This commit is contained in:
parent
c77f77132c
commit
e491b2e4ba
|
@ -89,6 +89,11 @@ class Controller {
|
|||
this.showOk();
|
||||
});
|
||||
}
|
||||
|
||||
$onInit() {
|
||||
if (localStorage.getItem('localBankFk'))
|
||||
window.localStorage.defaultBankFk = localStorage.getItem('localBankFk');
|
||||
}
|
||||
}
|
||||
|
||||
Controller.$inject = ['$scope', '$http', '$state', 'vnApp', '$translate'];
|
||||
|
|
Loading…
Reference in New Issue