SSR-1134 Assign null when given null or undefined value

This commit is contained in:
Josh Dassinger 2024-03-22 09:08:39 -05:00
parent d1ce437b91
commit cf2aeb6f52

View file

@ -1536,7 +1536,7 @@ export const useMainStore = defineStore({
updateSupportingItems(partsData) {
if (partsData == null) {
this.order.lineItems.supportingItems = partsData;
this.order.lineItems.supportingItems = null;
return;
}