mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Add options to expand album types by default (#644)
* Add options to expand album types by default * Remove isAfter and simplify slightly * Fix display of settings on large screens
This commit is contained in:
parent
1e48ea58b0
commit
1f483c3a3c
7 changed files with 118 additions and 10 deletions
|
@ -10,6 +10,7 @@ import Form from 'Components/Form/Form';
|
|||
import FormGroup from 'Components/Form/FormGroup';
|
||||
import FormLabel from 'Components/Form/FormLabel';
|
||||
import FormInputGroup from 'Components/Form/FormInputGroup';
|
||||
import styles from './UISettings.css';
|
||||
|
||||
export const firstDayOfWeekOptions = [
|
||||
{ key: 0, value: 'Sunday' },
|
||||
|
@ -173,6 +174,51 @@ class UISettings extends Component {
|
|||
{...settings.enableColorImpairedMode}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>Expand Items by Default</FormLabel>
|
||||
<div className={styles.columnGroup}>
|
||||
<FormInputGroup
|
||||
type={inputTypes.CHECK}
|
||||
name="expandAlbumByDefault"
|
||||
helpText="Albums"
|
||||
onChange={onInputChange}
|
||||
{...settings.expandAlbumByDefault}
|
||||
/>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.CHECK}
|
||||
name="expandEPByDefault"
|
||||
helpText="EPs"
|
||||
onChange={onInputChange}
|
||||
{...settings.expandEPByDefault}
|
||||
/>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.CHECK}
|
||||
name="expandSingleByDefault"
|
||||
helpText="Singles"
|
||||
onChange={onInputChange}
|
||||
{...settings.expandSingleByDefault}
|
||||
/>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.CHECK}
|
||||
name="expandBroadcastByDefault"
|
||||
helpText="Broadcast"
|
||||
onChange={onInputChange}
|
||||
{...settings.expandBroadcastByDefault}
|
||||
/>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.CHECK}
|
||||
name="expandOtherByDefault"
|
||||
helpText="Other"
|
||||
onChange={onInputChange}
|
||||
{...settings.expandOtherByDefault}
|
||||
/>
|
||||
</div>
|
||||
</FormGroup>
|
||||
</FieldSet>
|
||||
</Form>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue