diff --git a/plugins/view-resources/src/components/NumberPresenter.svelte b/plugins/view-resources/src/components/NumberPresenter.svelte index 72c758ac5f7..c852c4cc062 100644 --- a/plugins/view-resources/src/components/NumberPresenter.svelte +++ b/plugins/view-resources/src/components/NumberPresenter.svelte @@ -20,10 +20,11 @@ export let value: number | undefined export let onChange: ((value: number) => void) | undefined = undefined export let placeholder: IntlString = getEmbeddedLabel(' ') + export let kind: 'no-border' | 'link' | 'button' = 'link' {#if onChange !== undefined} - + {:else} {value || ''} {/if}