chore: comment out broken interval feature

This commit is contained in:
David Ralph
2023-01-08 21:42:01 +00:00
committed by GitHub
parent 19dc41fde1
commit a6b56cf2e4
2 changed files with 4 additions and 4 deletions

View File

@@ -250,7 +250,7 @@ export default class QuoteSettings extends PureComponent {
subtitle={variables.getMessage('modals.main.settings.sections.quote.additional')}
final={true}
>
<Dropdown
{/*<Dropdown
label={variables.getMessage(
'modals.main.settings.sections.background.interval.title',
)}
@@ -278,7 +278,7 @@ export default class QuoteSettings extends PureComponent {
<option value={2628000000}>
{variables.getMessage('modals.main.settings.sections.background.interval.month')}
</option>
</Dropdown>
</Dropdown>*/}
<Checkbox
name="authorLink"
text={variables.getMessage('modals.main.settings.sections.quote.author_link')}

View File

@@ -441,11 +441,11 @@ export default class BackgroundSettings extends PureComponent {
</Dropdown>
</SettingsItem>
{/* // todo: ideally refactor all of this file, but we need interval to appear on marketplace too */}
{this.state.backgroundType === 'api' ||
{/*{this.state.backgroundType === 'api' ||
this.state.backgroundType === 'custom' ||
this.state.marketplaceEnabled
? interval
: null}
: null}*/}
{backgroundSettings}
</>
) : null}