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:
parent
c3c6ebef95
commit
e5ad3c899e
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue