diff --git a/frontend/src/lib/components/DisplayResult.svelte b/frontend/src/lib/components/DisplayResult.svelte index ca5fd5b031..c2b382ee56 100644 --- a/frontend/src/lib/components/DisplayResult.svelte +++ b/frontend/src/lib/components/DisplayResult.svelte @@ -69,7 +69,7 @@ return 'json' } - if (result) { + if (result !== undefined) { try { let keys = Object.keys(result) @@ -153,8 +153,9 @@ > - {/if}{#if typeof result == 'object' && Object.keys(result).length > 0}
0} +
{#if !disableExpand}