Merge pull request #860 from Safelite/feature/richardson/SSR-1518
Temp fix
This commit is contained in:
commit
5b9498499b
2 changed files with 3 additions and 1 deletions
|
|
@ -417,6 +417,8 @@ export default {
|
|||
const results = await Promise.allSettled([useMainStore().getSupportingItems(), useMainStore().getRecalParts()]);
|
||||
const supportingItems = results[0];
|
||||
useMainStore().updateSupportingItems(supportingItems.data);
|
||||
} else {
|
||||
useMainStore().updateSupportingItems([]);
|
||||
}
|
||||
|
||||
if (this.mainStore.damage.isRepair) {
|
||||
|
|
|
|||
|
|
@ -1841,7 +1841,7 @@ export const useMainStore = defineStore({
|
|||
},
|
||||
updateSupportingItems(partsData) {
|
||||
if (partsData == null) {
|
||||
this.order.lineItems.supportingItems = null;
|
||||
this.order.lineItems.supportingItems = [];
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue