Skip to content

Commit

Permalink
Merge pull request #4861 from thornbill/fix-admin-check
Browse files Browse the repository at this point in the history
Fix admin check in dashboard routes
  • Loading branch information
thornbill authored Oct 9, 2023
2 parents c3c6ebe + e5ad3c8 commit edb1c88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/apps/dashboard/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ const DashboardApp = () => (
<ServerContentPage view='/web/configurationpage' />
} />
</Route>

{/* Suppress warnings for unhandled routes */}
<Route path='*' element={null} />
</Route>

{/* Suppress warnings for unhandled routes */}
<Route path='*' element={null} />

{/* Redirects for old paths */}
{REDIRECTS.map(toRedirectRoute)}
</Routes>
Expand Down

0 comments on commit edb1c88

Please sign in to comment.