From d7ecfc0630c96f723f017e2d82984fa5abb907db Mon Sep 17 00:00:00 2001 From: maria-hambardzumian <164881199+maria-hambardzumian@users.noreply.github.com> Date: Fri, 29 Nov 2024 14:08:50 +0400 Subject: [PATCH] EPMRPP-96967 || Cannot read properties of undefined (reading 'autoAnalyzed') (#4114) --- .../stepPage/modals/makeDecisionModal/makeDecisionModal.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/pages/inside/stepPage/modals/makeDecisionModal/makeDecisionModal.jsx b/app/src/pages/inside/stepPage/modals/makeDecisionModal/makeDecisionModal.jsx index 387a3269fd..f3ff2925be 100644 --- a/app/src/pages/inside/stepPage/modals/makeDecisionModal/makeDecisionModal.jsx +++ b/app/src/pages/inside/stepPage/modals/makeDecisionModal/makeDecisionModal.jsx @@ -83,7 +83,9 @@ const MakeDecision = ({ data }) => { suggestChoice: {}, historyChoice: historyItems.find( (item) => - item.id !== itemData.id && !item.issue?.issueType.startsWith(TO_INVESTIGATE_LOCATOR_PREFIX), + item.id !== itemData.id && + item.issue && + !item.issue.issueType.startsWith(TO_INVESTIGATE_LOCATOR_PREFIX), ), commentOption: isBulkOperation ? NOT_CHANGED_FOR_ALL : REPLACE_FOR_ALL, extraAnalyticsParams: {