bugs tying to set local company null solved
This commit is contained in:
parent
784f00c860
commit
5b78457129
|
@ -32,12 +32,10 @@ class Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
set localCompanyFk(value) {
|
set localCompanyFk(value) {
|
||||||
if (value) {
|
|
||||||
window.localStorage.localCompanyFk = value;
|
window.localStorage.localCompanyFk = value;
|
||||||
window.localStorage.defaultCompanyFk = value;
|
window.localStorage.defaultCompanyFk = value;
|
||||||
this.showOk();
|
this.showOk();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
get localCompanyFk() {
|
get localCompanyFk() {
|
||||||
return parseInt(window.localStorage.localCompanyFk);
|
return parseInt(window.localStorage.localCompanyFk);
|
||||||
|
|
Loading…
Reference in New Issue