Skip to content

Commit

Permalink
Merge pull request #2202 from abilpraju-aot/bugfix/FWF-3612-submision…
Browse files Browse the repository at this point in the history
…-view

fix main route for view submision
  • Loading branch information
arun-s-aot authored Aug 22, 2024
2 parents 11485b1 + 33c550c commit 771059a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/PrivateRoute.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const PrivateRoute = React.memo((props) => {
<Route
{...rest}
render={(props) =>
createDesigns || viewDesigns || createSubmissions ? (
createDesigns || viewDesigns || createSubmissions || viewSubmissions ? (
<Component {...props} />
) : (
<AccessDenied userRoles={userRoles} />
Expand Down

0 comments on commit 771059a

Please sign in to comment.