bug removing local configuration solved
This commit is contained in:
parent
8aad79886c
commit
91d3e75587
|
@ -23,7 +23,10 @@ class Controller {
|
||||||
|
|
||||||
set localWarehouseFk(value) {
|
set localWarehouseFk(value) {
|
||||||
window.localStorage.localWarehouseFk = value;
|
window.localStorage.localWarehouseFk = value;
|
||||||
window.localStorage.defaultWarehouseFk = value;
|
if (!value && this.warehouseFk)
|
||||||
|
window.localStorage.defaultWarehouseFk = this.warehouseFk;
|
||||||
|
else
|
||||||
|
window.localStorage.defaultWarehouseFk = value;
|
||||||
this.showOk();
|
this.showOk();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +36,10 @@ class Controller {
|
||||||
|
|
||||||
set localCompanyFk(value) {
|
set localCompanyFk(value) {
|
||||||
window.localStorage.localCompanyFk = value;
|
window.localStorage.localCompanyFk = value;
|
||||||
window.localStorage.defaultCompanyFk = value;
|
if (!value && this.companyFk)
|
||||||
|
window.localStorage.defaultCompanyFk = this.companyFk;
|
||||||
|
else
|
||||||
|
window.localStorage.defaultCompanyFk = value;
|
||||||
this.showOk();
|
this.showOk();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue