From 7d4cfb2ce44cee523841c22265aa0713eaf00d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milio=20Gonzalez?= Date: Mon, 29 Dec 2025 23:36:17 -0500 Subject: [PATCH] fix: handle `c2pa.actions.v2`'s `softwareAgent` as an object (in v1 it was a string). --- .../DetailedInfo/ProcessSection/AISubSection.svelte | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/routes/verify/components/DetailedInfo/ProcessSection/AISubSection.svelte b/src/routes/verify/components/DetailedInfo/ProcessSection/AISubSection.svelte index dd69ea15e..5fb4835c8 100644 --- a/src/routes/verify/components/DetailedInfo/ProcessSection/AISubSection.svelte +++ b/src/routes/verify/components/DetailedInfo/ProcessSection/AISubSection.svelte @@ -17,7 +17,14 @@ {#each softwareAgents as softwareAgent} - {softwareAgent} + {#if typeof softwareAgent === 'string'} + {softwareAgent} + {:else if typeof softwareAgent === 'object' && softwareAgent !== null} + {#each Object.entries(softwareAgent) as [key, value]} +
{key}: {value}
+ {/each} + {/if} +
{/each}