Skip to content

Commit

Permalink
fix click on workspace description do nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Feb 21, 2024
1 parent 8d60f67 commit a896e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/HeaderView.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ function HeaderView(props) {
<PressableWithoutFeedback
onPress={() => {
if (ReportUtils.canEditPolicyDescription(props.policy)) {
Navigation.navigate(ROUTES.WORKSPACE_DESCRIPTION.getRoute(props.report.policyID));
Navigation.navigate(ROUTES.WORKSPACE_PROFILE_DESCRIPTION.getRoute(props.report.policyID));
return;
}
Navigation.navigate(ROUTES.REPORT_WITH_ID_DETAILS.getRoute(props.reportID));
Expand Down

0 comments on commit a896e13

Please sign in to comment.