INSR-9835: Get availableVaps from the right place
This commit is contained in:
parent
b1b1bdfad3
commit
6fe9213486
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ export default {
|
|||
},
|
||||
offerWipers() {
|
||||
const orderHasWipers = this.mainStore.lineItems.vaps?.some((part) => part.partType.toLowerCase().includes('wiper'));
|
||||
const wipersAvailable = this.mainStore.availableVaps?.some((part) => part.partType.toLowerCase().includes('wiper'));
|
||||
const wipersAvailable = this.mainStore.order.availableVaps?.some((part) => part.partType.toLowerCase().includes('wiper'));
|
||||
return !orderHasWipers && wipersAvailable;
|
||||
},
|
||||
wiperOfferPanel() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue