diff --git a/src/components/ReportActionItem/TaskView.tsx b/src/components/ReportActionItem/TaskView.tsx index 0d450e46568d..9711e126907f 100644 --- a/src/components/ReportActionItem/TaskView.tsx +++ b/src/components/ReportActionItem/TaskView.tsx @@ -151,8 +151,8 @@ function TaskView({report, shouldShowHorizontalRule, ...props}: TaskViewProps) { interactive={!isDisableInteractive} /> - {report.managerID ? ( - + + {report.managerID ? ( - - ) : ( - Navigation.navigate(ROUTES.TASK_ASSIGNEE.getRoute(report.reportID))} - shouldShowRightIcon={isOpen} - disabled={disableState} - wrapperStyle={[styles.pv2]} - shouldGreyOutWhenDisabled={false} - interactive={!isDisableInteractive} - /> - )} + ) : ( + Navigation.navigate(ROUTES.TASK_ASSIGNEE.getRoute(report.reportID))} + shouldShowRightIcon={isOpen} + disabled={disableState} + wrapperStyle={[styles.pv2]} + shouldGreyOutWhenDisabled={false} + interactive={!isDisableInteractive} + /> + )} +