1
0
Fork 0
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:
Bill Thornton 2023-10-09 00:05:03 -04:00 committed by GitHub
commit edb1c8867a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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