fix: autocomplete now works on extension, hot reload warnings added for background quality and gradient

This commit is contained in:
David Ralph
2021-06-21 12:26:22 +01:00
parent 4e1347ad4e
commit aad568bd28
4 changed files with 30 additions and 16 deletions

View File

@@ -98,16 +98,16 @@ export default class BackgroundSettings extends React.PureComponent {
const apiOptions = [
{
'name': 'Mue',
'value': 'mue'
name: 'Mue',
value: 'mue'
},
{
'name': 'Unsplash',
'value': 'unsplash'
name: 'Unsplash',
value: 'unsplash'
},
{
'name': 'Pexels',
'value': 'pexels'
name: 'Pexels',
value: 'pexels'
}
];
@@ -122,7 +122,7 @@ export default class BackgroundSettings extends React.PureComponent {
))}
</Dropdown>
<br/><br/>
<Dropdown label={background.source.quality.title} name='apiQuality' category='background'>
<Dropdown label={background.source.quality.title} name='apiQuality' category='background' element='.other'>
<option value='original'>{background.source.quality.original}</option>
<option value='high'>{background.source.quality.high}</option>
<option value='normal'>{background.source.quality.normal}</option>