1
0
Fork 0
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:
grafixeyehero 2022-06-29 03:26:40 +03:00
parent 5d29529562
commit 2d115bc6c8
4 changed files with 31 additions and 28 deletions

View file

@ -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>