diff --git a/src/lib/components/ToolListviewCard.svelte b/src/lib/components/ToolListviewCard.svelte index 8bcb695..ce3fd62 100644 --- a/src/lib/components/ToolListviewCard.svelte +++ b/src/lib/components/ToolListviewCard.svelte @@ -24,7 +24,7 @@ >
{#if docsUrl} - + {`The 0}
({ "text": x.url_type, href: x.url })); entry_backmigrated.slug = makeUrlSafeName(entry.name); + entry_backmigrated.evaluations = entry.evaluations ? entry.evaluations : []; const evaluation = { ...EVALUATION_SKELETON }; // set date as today in the format YYYY-MM-DD @@ -103,4 +102,4 @@ for (const entry of await readDirectoryData(PATH_DIR_ENTRIES_INPUT)) { const outputPath = join(PATH_DIR_ENTRIES_OUTPUT, `${id}.json`); await promises.writeFile(outputPath, JSON.stringify(entry_backmigrated, null, 2)); console.log(`Generated ${outputPath} successfully.`); -} \ No newline at end of file +} diff --git a/src/routes/[slug]/+page.svelte b/src/routes/[slug]/+page.svelte index ceeacee..627e7ef 100755 --- a/src/routes/[slug]/+page.svelte +++ b/src/routes/[slug]/+page.svelte @@ -43,7 +43,7 @@ {#each data?.urls as url (url)}