1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Remove unused data-dom-cache attribute

This commit is contained in:
grafixeyehero 2022-09-02 21:30:35 +03:00
parent 76eff104d8
commit 328afb0db8
2 changed files with 0 additions and 4 deletions

View file

@ -9,7 +9,6 @@ type PageProps = {
isMenuButtonEnabled?: boolean, isMenuButtonEnabled?: boolean,
isNowPlayingBarEnabled?: boolean, isNowPlayingBarEnabled?: boolean,
isThemeMediaSupported?: boolean, isThemeMediaSupported?: boolean,
isDomCacheEnabled?: boolean,
backDropType?: string backDropType?: string
}; };
@ -26,7 +25,6 @@ const Page: FunctionComponent<PageProps & HTMLAttributes<HTMLDivElement>> = ({
isMenuButtonEnabled = false, isMenuButtonEnabled = false,
isNowPlayingBarEnabled = true, isNowPlayingBarEnabled = true,
isThemeMediaSupported = false, isThemeMediaSupported = false,
isDomCacheEnabled = false,
backDropType backDropType
}) => { }) => {
const element = useRef<HTMLDivElement>(null); const element = useRef<HTMLDivElement>(null);
@ -67,7 +65,6 @@ const Page: FunctionComponent<PageProps & HTMLAttributes<HTMLDivElement>> = ({
data-title={title} data-title={title}
data-backbutton={isBackButtonEnabled} data-backbutton={isBackButtonEnabled}
data-menubutton={isMenuButtonEnabled} data-menubutton={isMenuButtonEnabled}
data-dom-cache={isDomCacheEnabled}
data-backdroptype={backDropType} data-backdroptype={backDropType}
> >
{children} {children}

View file

@ -160,7 +160,6 @@ const Home: FunctionComponent<IProps> = (props: IProps) => {
<Page <Page
id='indexPage' id='indexPage'
className='mainAnimatedPage homePage libraryPage allLibraryPage backdropPage pageWithAbsoluteTabs withTabs' className='mainAnimatedPage homePage libraryPage allLibraryPage backdropPage pageWithAbsoluteTabs withTabs'
isDomCacheEnabled= {true}
backDropType='movie,series,book' backDropType='movie,series,book'
> >
<div className='tabContent pageTabContent' id='homeTab' data-index='0'> <div className='tabContent pageTabContent' id='homeTab' data-index='0'>