diff --git a/frontend/src/lib/components/DisplayResult.svelte b/frontend/src/lib/components/DisplayResult.svelte
index c03cfbf597..6a696bb839 100644
--- a/frontend/src/lib/components/DisplayResult.svelte
+++ b/frontend/src/lib/components/DisplayResult.svelte
@@ -1,4 +1,7 @@
@@ -442,17 +472,18 @@
on:selected={(ev) => {
globalForceJson = ev.detail === 'json'
}}
- let:item
>
-
+ {#snippet children({ item })}
+
-
+
+ {/snippet}
{/if}
{#each result['render_all'] as res}
- {
forceJson = ev.detail === 'json'
}}
>
- {#if ['table-col', 'table-row', 'table-row-object'].includes(resultKind ?? '')}
-
- {:else}
-
- {/if}
-
+ {#snippet children({ item })}
+ {#if ['table-col', 'table-row', 'table-row-object'].includes(resultKind ?? '')}
+
+ {:else}
+
+ {/if}
+
+ {/snippet}
{/if}
{#if customUi?.disableAiFix !== true}
-
+ {@render copilot_fix?.()}
{/if}
{#if toolbarLocation === 'self'}
@@ -647,7 +679,7 @@
>{JSON.stringify(result.error.extra, null, 4)}
{/if}
-
+ {@render children?.()}
{#if !isTest && language === 'bun'}
@@ -723,7 +755,7 @@
/>