Fix hide currency selector for third party sources
All checks were successful
/ build (push) Successful in 3m27s
/ check-changes (push) Successful in 5s

This commit is contained in:
Djuri 2025-01-06 01:29:37 +01:00
parent 732dd260ea
commit 91e60d2f4c
Signed by: djuri
GPG key ID: 61B9B2DDE5AA3AC1

View file

@ -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>