mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
feat: better logs
- added ability to write debug logs for development builds - added filtering to log page - modified filter button to allow for multiple selection if required
This commit is contained in:
@@ -287,7 +287,7 @@ const Page = () => {
|
||||
component: (
|
||||
<FilterButton
|
||||
className='mr-1'
|
||||
collectionId={libraryId}
|
||||
id={libraryId}
|
||||
queryKey='genreFilter'
|
||||
queryFn={async () => {
|
||||
if (!api) return null;
|
||||
@@ -314,7 +314,7 @@ const Page = () => {
|
||||
component: (
|
||||
<FilterButton
|
||||
className='mr-1'
|
||||
collectionId={libraryId}
|
||||
id={libraryId}
|
||||
queryKey='yearFilter'
|
||||
queryFn={async () => {
|
||||
if (!api) return null;
|
||||
@@ -339,7 +339,7 @@ const Page = () => {
|
||||
component: (
|
||||
<FilterButton
|
||||
className='mr-1'
|
||||
collectionId={libraryId}
|
||||
id={libraryId}
|
||||
queryKey='tagsFilter'
|
||||
queryFn={async () => {
|
||||
if (!api) return null;
|
||||
@@ -366,7 +366,7 @@ const Page = () => {
|
||||
component: (
|
||||
<FilterButton
|
||||
className='mr-1'
|
||||
collectionId={libraryId}
|
||||
id={libraryId}
|
||||
queryKey='sortBy'
|
||||
queryFn={async () => sortOptions.map((s) => s.key)}
|
||||
set={setSortBy}
|
||||
@@ -386,7 +386,7 @@ const Page = () => {
|
||||
component: (
|
||||
<FilterButton
|
||||
className='mr-1'
|
||||
collectionId={libraryId}
|
||||
id={libraryId}
|
||||
queryKey='sortOrder'
|
||||
queryFn={async () => sortOrderOptions.map((s) => s.key)}
|
||||
set={setSortOrder}
|
||||
|
||||
Reference in New Issue
Block a user