mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-02 16:41:21 +03:00
feat: add "Compilation" filter to albums
This commit is contained in:
parent
8401d85f78
commit
270b0ae74e
@ -9,6 +9,7 @@ import {
|
|||||||
FunctionField,
|
FunctionField,
|
||||||
SearchInput,
|
SearchInput,
|
||||||
NumberInput,
|
NumberInput,
|
||||||
|
BooleanInput,
|
||||||
Show,
|
Show,
|
||||||
SimpleShowLayout,
|
SimpleShowLayout,
|
||||||
TextField
|
TextField
|
||||||
@ -19,6 +20,7 @@ import { useMediaQuery } from '@material-ui/core'
|
|||||||
const AlbumFilter = (props) => (
|
const AlbumFilter = (props) => (
|
||||||
<Filter {...props}>
|
<Filter {...props}>
|
||||||
<SearchInput source="name" alwaysOn />
|
<SearchInput source="name" alwaysOn />
|
||||||
|
<BooleanInput source="compilation" options={{ color: 'primary' }} />
|
||||||
<NumberInput source="year" />
|
<NumberInput source="year" />
|
||||||
</Filter>
|
</Filter>
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,13 @@ export const DarkTheme = {
|
|||||||
},
|
},
|
||||||
secondary: blue,
|
secondary: blue,
|
||||||
type: 'dark'
|
type: 'dark'
|
||||||
|
},
|
||||||
|
overrides: {
|
||||||
|
MuiFormGroup: {
|
||||||
|
root: {
|
||||||
|
color: 'white'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user