diff --git a/src/routes/library/index.jsx b/src/routes/library/index.jsx index cb37aa3..c566df1 100644 --- a/src/routes/library/index.jsx +++ b/src/routes/library/index.jsx @@ -183,7 +183,6 @@ const LibraryView = () => { setCurrentViewType(BaseItemKind.Movie); setViewType([ { title: "Movies", value: BaseItemKind.Movie }, - { title: "Collections", value: BaseItemKind.BoxSet }, { title: "Genres", value: BaseItemKind.Genre }, { title: "Studios", value: BaseItemKind.Studio }, ]); @@ -509,52 +508,67 @@ const LibraryView = () => { ), )} + + )} + + {viewType.length > 0 && ( + <> + { + setCurrentViewType( + e.target.value, + ); + }} + size="small" + > + {viewType.map((option, index) => ( + + {option.title} + + ))} + )} - { - setCurrentViewType(e.target.value); - }} - size="small" - > - {viewType.map((option, index) => ( - - {option.title} - - ))} - - - {currentLib.isSuccess && allowedFilterViews.includes( currentLib.data.Items[0].CollectionType, ) && ( - + <> + + + )} { items.data.Items.map((item, index) => { return (