mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
migrate User Parental Control
This commit is contained in:
parent
5d29529562
commit
2d115bc6c8
4 changed files with 31 additions and 28 deletions
|
@ -6,6 +6,7 @@ import NewUserPage from './NewUserPage';
|
|||
import SearchPage from './search';
|
||||
import UserEditPage from './UserEditPage';
|
||||
import UserLibraryAccessPage from './UserLibraryAccessPage';
|
||||
import UserParentalControl from './UserParentalControl';
|
||||
import UserProfilesPage from './UserProfilesPage';
|
||||
|
||||
const AppRoutes = () => (
|
||||
|
@ -51,6 +52,14 @@ const AppRoutes = () => (
|
|||
</ConnectionRequired>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path='userparentalcontrol.html'
|
||||
element={
|
||||
<ConnectionRequired>
|
||||
<UserParentalControl />
|
||||
</ConnectionRequired>
|
||||
}
|
||||
/>
|
||||
{/* Suppress warnings for unhandled routes */}
|
||||
<Route path='*' element={null} />
|
||||
</Route>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue