Merge pull request #4861 from thornbill/fix-admin-check

Fix admin check in dashboard routes
This commit is contained in:
Bill Thornton
2023-10-09 00:05:03 -04:00
committed by GitHub
+3 -3
View File
@@ -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>