diff --git a/src/frontend/src/components/DialogTaskActions.tsx b/src/frontend/src/components/DialogTaskActions.tsx
index 8d44c6f016..cd5288c36c 100755
--- a/src/frontend/src/components/DialogTaskActions.tsx
+++ b/src/frontend/src/components/DialogTaskActions.tsx
@@ -161,42 +161,41 @@ export default function Dialog({ taskId, feature }: dialogPropType) {
}
className=""
/>
- {list_of_task_status?.length > 0 && (
+ {list_of_task_status?.length > 0 && checkIfTaskAssignedOrNot && (
- {checkIfTaskAssignedOrNot &&
- list_of_task_status?.map((data, index) => {
- return list_of_task_status?.length != 0 ? (
-
)}
{task_status !== 'READY' && task_status !== 'LOCKED_FOR_MAPPING' && (
diff --git a/src/frontend/src/components/ProjectDetailsV2/TaskSelectionPopup.tsx b/src/frontend/src/components/ProjectDetailsV2/TaskSelectionPopup.tsx
index 0cd127de9b..df7e13b5e9 100644
--- a/src/frontend/src/components/ProjectDetailsV2/TaskSelectionPopup.tsx
+++ b/src/frontend/src/components/ProjectDetailsV2/TaskSelectionPopup.tsx
@@ -96,6 +96,9 @@ const TaskSelectionPopup = ({ taskId, body, feature }: TaskSelectionPopupPropTyp
Task: {selectedTask.index}
Status: {task_status}
+ {selectedTask?.locked_by_username && (
+
Locked By: {selectedTask?.locked_by_username}
+ )}
{checkIfTaskAssignedOrNot && task_status !== 'LOCKED_FOR_MAPPING' && (