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 ToggleHeader from '../ToggleHeader.svelte';
import { uiSettings } from '$lib/uiSettings';
import { DataSourceType } from '$lib/types/dataSource';
export let settings;
export let isOpen = false;
@ -99,7 +100,7 @@
{/each}
{/if}
</Row>
{#if $settings.actCurrencies && $settings.useNostr !== true}
{#if $settings.actCurrencies && $settings.dataSource == DataSourceType.BTCLOCK_SOURCE}
<Row>
<h5>{$_('section.settings.currencies')}</h5>
<small>{$_('restartRequired')}</small>