mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #4861 from thornbill/fix-admin-check
Fix admin check in dashboard routes
This commit is contained in:
commit
edb1c8867a
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue