1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix admin check in dashboard routes

This commit is contained in:
Bill Thornton 2023-10-08 23:43:31 -04:00
parent c3c6ebef95
commit e5ad3c899e

View file

@ -53,11 +53,11 @@ const DashboardApp = () => (
<ServerContentPage view='/web/configurationpage' /> <ServerContentPage view='/web/configurationpage' />
} /> } />
</Route> </Route>
{/* Suppress warnings for unhandled routes */}
<Route path='*' element={null} />
</Route> </Route>
{/* Suppress warnings for unhandled routes */}
<Route path='*' element={null} />
{/* Redirects for old paths */} {/* Redirects for old paths */}
{REDIRECTS.map(toRedirectRoute)} {REDIRECTS.map(toRedirectRoute)}
</Routes> </Routes>