updates to vehicle damage page.

This commit is contained in:
Bill Richardson 2023-08-29 15:57:23 -04:00
parent 2b4587c1f9
commit 6f63484dff
2 changed files with 3 additions and 2 deletions

View file

@ -74,7 +74,8 @@ export default {
return this.modelValue.includes(this.value); return this.modelValue.includes(this.value);
} }
if (!this.isMultiSelect) { if (!this.isMultiSelect) {
return this.modelValue === this.value; // eslint-disable-next-line eqeqeq
return this.modelValue == this.value;
} }
return false; return false;
}, },

View file

@ -372,7 +372,7 @@ export default {
if (this.isWindshieldRepair) { if (this.isWindshieldRepair) {
const supportingItems = await useMainStore().getSupportingItems(); const supportingItems = await useMainStore().getSupportingItems();
useMainStore().saveSupportingItems(supportingItems.data); this.mainStore.saveSupportingItems(supportingItems.data);
} }
return this.navigateForward(); return this.navigateForward();