diff --git a/client/salix/src/components/user-configuration-popover/index.js b/client/salix/src/components/user-configuration-popover/index.js index cb70eba71..a6bda1ad1 100644 --- a/client/salix/src/components/user-configuration-popover/index.js +++ b/client/salix/src/components/user-configuration-popover/index.js @@ -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'];