CSR-2351 wrong order location
CSR-2351 wrong order location
This commit is contained in:
parent
6157082a8e
commit
e4206887b7
1 changed files with 3 additions and 3 deletions
|
|
@ -819,14 +819,14 @@ export const getters = {
|
|||
return false;
|
||||
},
|
||||
shouldHideRecalibration: (state) => {
|
||||
let order;
|
||||
var order;
|
||||
if (window.sessionStorage.getItem("submittedOrder") !== null) {
|
||||
order = JSON.parse(window.sessionStorage.getItem("submittedOrder"));
|
||||
}
|
||||
else {
|
||||
order = getters.order;
|
||||
order = state.order;
|
||||
}
|
||||
|
||||
|
||||
if (order.payment.isInsurance) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue