diff --git a/src/components/TaskAnalysisTable/TaskAnalysisTable.jsx b/src/components/TaskAnalysisTable/TaskAnalysisTable.jsx index 3235f85f..38b09ea5 100644 --- a/src/components/TaskAnalysisTable/TaskAnalysisTable.jsx +++ b/src/components/TaskAnalysisTable/TaskAnalysisTable.jsx @@ -423,14 +423,14 @@ const setupColumnTypes = (props, taskBaseRoute, manager, data, openComments) => const { taskBundle, task, initialBundle } = props; const { id: taskId, bundleId, status } = row._original; - const isTaskSelected = taskId === task?.id + const isActiveTask = taskId === task?.id const isInActiveBundle = taskBundle?.taskIds?.includes(taskId); const alreadyBundled = bundleId && taskBundle?.bundleId !== bundleId; - const enableBundleEdits = initialBundle?.taskIds?.includes(taskId) || [0, 3, 6].includes(status) && !alreadyBundled + const validBundlingStatus = initialBundle?.taskIds?.includes(taskId) || [0, 3, 6].includes(status) return (