Add classified listings
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<script lang="ts">
|
||||
import {currencyOptions} from "src/util/i18n"
|
||||
|
||||
export let code
|
||||
</script>
|
||||
|
||||
{#if code.match(/^sats?$/i)}
|
||||
<span style="font-family: Satoshis; font-size: 1.2em;">!</span>
|
||||
{:else}
|
||||
{currencyOptions.find(c => c.code)?.symbol || code}
|
||||
{/if}
|
||||
Reference in New Issue
Block a user