From e0a6229a449db38e7315b8441e2dfd4e63b68017 Mon Sep 17 00:00:00 2001 From: Miguel Vieira Date: Mon, 8 Jul 2024 11:25:59 +0100 Subject: [PATCH] feat(frontend): update metadata fields after metadata restructure --- frontend/src/routes/+page.svelte | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index b3305db5308..f065272c2d1 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -43,7 +43,7 @@ .split(' ') .map((keyword) => keyword.toLowerCase()) .every((keyword) => - inscription.metadata.keywords.some((/** @type string */ k) => k.includes(keyword)) + inscription.keywords.some((/** @type string */ k) => k.includes(keyword)) ) ); }); @@ -92,17 +92,15 @@

{inscription.file} - {inscription.metadata.title} - {inscription.metadata.status} + {inscription.title} + {inscription.status}

Settlement
-
{inscription.metadata.settlement}
-
Repository
-
{inscription.metadata.repository?._ || 'N/A'}
+
{inscription.repository?._ || 'N/A'}
Language
-
{inscription.metadata.textLang?._ || 'N/A'}
+
{inscription.textLang?._ || 'N/A'}
{/each}