From 7aa11b077c6596b1bba2a7984788db4e1bce0762 Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Thu, 4 Jul 2024 11:29:29 +0530 Subject: [PATCH] Improved: check for partialGroupItems allocation status (#231) --- src/views/BrokeringQuery.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/BrokeringQuery.vue b/src/views/BrokeringQuery.vue index dbe17c3..6d7e0d9 100644 --- a/src/views/BrokeringQuery.vue +++ b/src/views/BrokeringQuery.vue @@ -1315,7 +1315,7 @@ function updatePartialGroupItemsAllocation(checked: boolean) { } function isPartialGroupItemsAllocationActive() { - return inventoryRuleFilterOptions.value[conditionFilterEnums["SPLIT_ITEM_GROUP"].code].fieldValue === 'Y' ? true : false; + return inventoryRuleFilterOptions.value[conditionFilterEnums["SPLIT_ITEM_GROUP"].code]?.fieldValue === 'Y' ? true : false; }