bugs tying to set local company null solved

This commit is contained in:
Gerard 2018-10-24 12:28:33 +02:00
parent 784f00c860
commit 5b78457129
1 changed files with 3 additions and 5 deletions

View File

@ -32,12 +32,10 @@ class Controller {
}
set localCompanyFk(value) {
if (value) {
window.localStorage.localCompanyFk = value;
window.localStorage.defaultCompanyFk = value;
this.showOk();
}
}
get localCompanyFk() {
return parseInt(window.localStorage.localCompanyFk);