CASH-48
CASH-48 null check
This commit is contained in:
parent
e559d37ac0
commit
8a0d622049
1 changed files with 27 additions and 27 deletions
|
|
@ -120,6 +120,7 @@ export default {
|
||||||
|
|
||||||
const partsOrQuestions = orderFromStore.damage?.partQuestionAnswers;
|
const partsOrQuestions = orderFromStore.damage?.partQuestionAnswers;
|
||||||
|
|
||||||
|
if (partsOrQuestions) {
|
||||||
partsOrQuestions.forEach(pqa => {
|
partsOrQuestions.forEach(pqa => {
|
||||||
const payloadPartQuestions = [];
|
const payloadPartQuestions = [];
|
||||||
pqa.answeredQuestions.forEach(answer => {
|
pqa.answeredQuestions.forEach(answer => {
|
||||||
|
|
@ -146,9 +147,8 @@ export default {
|
||||||
payload,
|
payload,
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Create order
|
// Create order
|
||||||
await baseMixin.methods.dispatchStoreAction(storeActions.CREATE_SUBMITTED_ORDER); // This nulls the Store order
|
await baseMixin.methods.dispatchStoreAction(storeActions.CREATE_SUBMITTED_ORDER); // This nulls the Store order
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue