mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 08:01:38 +00:00
fix(frontend): Fix display for array of objects (#3051)
This commit is contained in:
@@ -356,10 +356,12 @@
|
||||
{/each}
|
||||
</div>
|
||||
{:else if Array.isArray(value)}
|
||||
<div class="flex flex-row gap-1 w-full max-w-80 flex-wrap min-w-80">
|
||||
<div class="flex flex-row gap-1 w-full max-w-80 flex-wrap min-w-96">
|
||||
{#each value as val}
|
||||
<div class="p-2 bg-surface-secondary rounded-md text-2xs">
|
||||
{JSON.stringify(val)}
|
||||
<div
|
||||
class="p-2 bg-surface-secondary rounded-md text-2xs max-w-96 text-wrap whitespace-pre-wrap flex flex-grow w-max overflow-hidden"
|
||||
>
|
||||
{JSON.stringify(val, null, 2)}
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user