mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Initial commit
This commit is contained in:
parent
7671d08591
commit
e5a55daf55
20 changed files with 46 additions and 56 deletions
|
@ -254,7 +254,7 @@ const UserEdit: FunctionComponent = () => {
|
|||
user.Policy.SyncPlayAccess = (page.querySelector('#selectSyncPlayAccess') as HTMLSelectElement).value as SyncPlayUserAccessType;
|
||||
|
||||
window.ApiClient.updateUser(user).then(() => (
|
||||
window.ApiClient.updateUserPolicy(user.Id || '', user.Policy || {})
|
||||
window.ApiClient.updateUserPolicy(user.Id || '', user.Policy || { PasswordResetProviderId: '', AuthenticationProviderId: '' })
|
||||
)).then(() => {
|
||||
onSaveComplete();
|
||||
}).catch(err => {
|
||||
|
|
|
@ -11,7 +11,7 @@ import Collections from '@mui/icons-material/Collections';
|
|||
import Queue from '@mui/icons-material/Queue';
|
||||
import Folder from '@mui/icons-material/Folder';
|
||||
import React, { FC } from 'react';
|
||||
import { CollectionType } from 'types/collectionType';
|
||||
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
|
||||
|
||||
interface LibraryIconProps {
|
||||
item: BaseItemDto
|
||||
|
|
|
@ -4,7 +4,7 @@ import { useGetGenres } from 'hooks/useFetchItems';
|
|||
import globalize from 'scripts/globalize';
|
||||
import Loading from 'components/loading/LoadingComponent';
|
||||
import GenresSectionContainer from './GenresSectionContainer';
|
||||
import { CollectionType } from 'types/collectionType';
|
||||
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
|
||||
import { ParentId } from 'types/library';
|
||||
|
||||
interface GenresItemsContainerProps {
|
||||
|
|
|
@ -11,7 +11,7 @@ import { useGetItems } from 'hooks/useFetchItems';
|
|||
import Loading from 'components/loading/LoadingComponent';
|
||||
import { appRouter } from 'components/router/appRouter';
|
||||
import SectionContainer from './SectionContainer';
|
||||
import { CollectionType } from 'types/collectionType';
|
||||
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
|
||||
import { ParentId } from 'types/library';
|
||||
|
||||
interface GenresSectionContainerProps {
|
||||
|
|
|
@ -2,7 +2,7 @@ import { BaseItemKind } from '@jellyfin/sdk/lib/generated-client/models/base-ite
|
|||
import React, { FC } from 'react';
|
||||
import GenresItemsContainer from './GenresItemsContainer';
|
||||
import { ParentId } from 'types/library';
|
||||
import { CollectionType } from 'types/collectionType';
|
||||
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
|
||||
|
||||
interface GenresViewProps {
|
||||
parentId: ParentId;
|
||||
|
|
|
@ -23,7 +23,7 @@ import ShuffleButton from './ShuffleButton';
|
|||
import SortButton from './SortButton';
|
||||
import GridListViewButton from './GridListViewButton';
|
||||
import { LibraryViewSettings, ParentId, ViewMode } from 'types/library';
|
||||
import { CollectionType } from 'types/collectionType';
|
||||
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
|
||||
import { LibraryTab } from 'types/libraryTab';
|
||||
|
||||
import { CardOptions } from 'types/cardOptions';
|
||||
|
|
|
@ -4,7 +4,7 @@ import useCurrentTab from 'hooks/useCurrentTab';
|
|||
import Page from 'components/Page';
|
||||
import PageTabContent from '../../components/library/PageTabContent';
|
||||
import { LibraryTab } from 'types/libraryTab';
|
||||
import { CollectionType } from 'types/collectionType';
|
||||
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
|
||||
import { LibraryTabContent, LibraryTabMapping } from 'types/libraryTabContent';
|
||||
import { MovieSuggestionsSectionsView } from 'types/sections';
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import useCurrentTab from 'hooks/useCurrentTab';
|
|||
import Page from 'components/Page';
|
||||
import PageTabContent from '../../components/library/PageTabContent';
|
||||
import { LibraryTab } from 'types/libraryTab';
|
||||
import { CollectionType } from 'types/collectionType';
|
||||
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
|
||||
import { LibraryTabContent, LibraryTabMapping } from 'types/libraryTabContent';
|
||||
import { MusicSuggestionsSectionsView } from 'types/sections';
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import useCurrentTab from 'hooks/useCurrentTab';
|
|||
import Page from 'components/Page';
|
||||
import PageTabContent from '../../components/library/PageTabContent';
|
||||
import { LibraryTab } from 'types/libraryTab';
|
||||
import { CollectionType } from 'types/collectionType';
|
||||
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
|
||||
import { LibraryTabContent, LibraryTabMapping } from 'types/libraryTabContent';
|
||||
import { TvShowSuggestionsSectionsView } from 'types/sections';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue