From 99d56db1da0add21f4e1f536a6e7075ddf06b69e Mon Sep 17 00:00:00 2001 From: Someshwar Tripathi Date: Wed, 7 Feb 2024 21:47:20 +0530 Subject: [PATCH] Wrap assignee menu item with OfflineWithFeedback --- src/components/ReportActionItem/TaskView.tsx | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) 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} + /> + )} +