diff --git a/app/src/pages/inside/stepPage/modals/makeDecisionModal/makeDecisionModal.jsx b/app/src/pages/inside/stepPage/modals/makeDecisionModal/makeDecisionModal.jsx index 41e8d83c12..042c500c69 100644 --- a/app/src/pages/inside/stepPage/modals/makeDecisionModal/makeDecisionModal.jsx +++ b/app/src/pages/inside/stepPage/modals/makeDecisionModal/makeDecisionModal.jsx @@ -89,7 +89,9 @@ const MakeDecision = ({ data }) => { !item.issue.issueType.startsWith(TO_INVESTIGATE_LOCATOR_PREFIX), ), commentOption: isBulkOperation ? NOT_CHANGED_FOR_ALL : REPLACE_FOR_ALL, - extraAnalyticsParams: {}, + extraAnalyticsParams: { + link_name: false, + }, }); const [activeTab, setActiveTab] = useState(SELECT_DEFECT_MANUALLY); const windowSize = useWindowResize(); diff --git a/app/src/pages/inside/stepPage/modals/makeDecisionModal/tabs/selectDefectManually/selectDefectManually.jsx b/app/src/pages/inside/stepPage/modals/makeDecisionModal/tabs/selectDefectManually/selectDefectManually.jsx index 901ff43cbf..11073865c1 100644 --- a/app/src/pages/inside/stepPage/modals/makeDecisionModal/tabs/selectDefectManually/selectDefectManually.jsx +++ b/app/src/pages/inside/stepPage/modals/makeDecisionModal/tabs/selectDefectManually/selectDefectManually.jsx @@ -76,7 +76,7 @@ export const SelectDefectManually = ({ const source = modalState.selectManualChoice; - const handleManualChange = (value = {}) => { + const handleManualChange = (value = {}, extraAnalyticsParams = {}) => { const issue = { ...(modalState.decisionType === SELECT_DEFECT_MANUALLY ? source.issue : itemData.issue), ...value, @@ -85,6 +85,10 @@ export const SelectDefectManually = ({ ...modalState, decisionType: SELECT_DEFECT_MANUALLY, selectManualChoice: { issue }, + extraAnalyticsParams: { + ...modalState.extraAnalyticsParams, + ...extraAnalyticsParams, + }, }); if (!issue.comment) { commentEditor.focus(); @@ -100,7 +104,7 @@ export const SelectDefectManually = ({ trackEvent(getClickIgnoreAACheckboxEvent(defectFromTIGroup, e.target.checked)); }; const handleDefectCommentChange = (value) => { - handleManualChange({ comment: value.trim() }); + handleManualChange({ comment: value.trim() }, { link_name: true }); if (isBulkOperation) { const isValueEmpty = value.trim() === ''; if (!source.issue.comment && !isValueEmpty) {