diff --git a/plugins/view-resources/src/components/HyperlinkPresenter.svelte b/plugins/view-resources/src/components/HyperlinkPresenter.svelte index a26cd2a3d0..d080844f34 100644 --- a/plugins/view-resources/src/components/HyperlinkPresenter.svelte +++ b/plugins/view-resources/src/components/HyperlinkPresenter.svelte @@ -19,14 +19,15 @@ export let value: string export let inline: boolean = false let divScroll: HTMLElement + $: _value = value ?? '' {#if inline} - {value} + {_value} {:else}
- {value} + {_value}
{/if} diff --git a/plugins/view-resources/src/components/NumberEditor.svelte b/plugins/view-resources/src/components/NumberEditor.svelte index b50387c627..090c095897 100644 --- a/plugins/view-resources/src/components/NumberEditor.svelte +++ b/plugins/view-resources/src/components/NumberEditor.svelte @@ -60,7 +60,7 @@ }} > - {#if value !== undefined} + {#if value != null} {value} {:else} @@ -68,7 +68,7 @@ {:else if readonly} - {#if value !== undefined} + {#if value != null} {value} {:else}