diff --git a/packages/builder/src/components/integration/QueryViewerSidePanel/JSONPanel.svelte b/packages/builder/src/components/integration/QueryViewerSidePanel/JSONPanel.svelte index cc56571bed..a26565f109 100644 --- a/packages/builder/src/components/integration/QueryViewerSidePanel/JSONPanel.svelte +++ b/packages/builder/src/components/integration/QueryViewerSidePanel/JSONPanel.svelte @@ -9,7 +9,10 @@ string = JSON.stringify(data.slice(0, maxRowsToDisplay) || {}, null, 2) // Display '...' at the end of the array - string = string.replace(/(}\n])/, "},\n ...\n]") + string = string.replace( + /(}\n])/, + `},\n ...${data.length - maxRowsToDisplay} further items\n]` + ) } }