forked from btclock/webui
Fix hide currency selector for third party sources
This commit is contained in:
parent
732dd260ea
commit
91e60d2f4c
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
import { Row, Col } from '@sveltestrap/sveltestrap';
|
import { Row, Col } from '@sveltestrap/sveltestrap';
|
||||||
import ToggleHeader from '../ToggleHeader.svelte';
|
import ToggleHeader from '../ToggleHeader.svelte';
|
||||||
import { uiSettings } from '$lib/uiSettings';
|
import { uiSettings } from '$lib/uiSettings';
|
||||||
|
import { DataSourceType } from '$lib/types/dataSource';
|
||||||
|
|
||||||
export let settings;
|
export let settings;
|
||||||
export let isOpen = false;
|
export let isOpen = false;
|
||||||
|
@ -99,7 +100,7 @@
|
||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
</Row>
|
</Row>
|
||||||
{#if $settings.actCurrencies && $settings.useNostr !== true}
|
{#if $settings.actCurrencies && $settings.dataSource == DataSourceType.BTCLOCK_SOURCE}
|
||||||
<Row>
|
<Row>
|
||||||
<h5>{$_('section.settings.currencies')}</h5>
|
<h5>{$_('section.settings.currencies')}</h5>
|
||||||
<small>{$_('restartRequired')}</small>
|
<small>{$_('restartRequired')}</small>
|
||||||
|
|
Loading…
Reference in a new issue