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