diff --git a/src/lib/components/AdditionStat.svelte b/src/lib/components/AdditionStat.svelte index 49db1c09..fdf6bcfc 100644 --- a/src/lib/components/AdditionStat.svelte +++ b/src/lib/components/AdditionStat.svelte @@ -4,6 +4,7 @@ export let text: string; export let data: string; + export let subData: string | undefined = undefined; export let asterisk: boolean = false; let className: string | null | undefined = undefined; @@ -13,7 +14,13 @@
{text}:
- {data} + {data} + {#if subData} + {subData} + {/if} + + {#if asterisk} * {/if}