From cf2aeb6f52e563046f16f02e61ed2f6e41b4086b Mon Sep 17 00:00:00 2001 From: Josh Dassinger Date: Fri, 22 Mar 2024 09:08:39 -0500 Subject: [PATCH] SSR-1134 Assign null when given null or undefined value --- src/store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/index.js b/src/store/index.js index 44e95212..5add699d 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1536,7 +1536,7 @@ export const useMainStore = defineStore({ updateSupportingItems(partsData) { if (partsData == null) { - this.order.lineItems.supportingItems = partsData; + this.order.lineItems.supportingItems = null; return; }