From be6a48249e23d87235540284e400796c1adb5b53 Mon Sep 17 00:00:00 2001 From: connoratrug <47183404+connoratrug@users.noreply.github.com> Date: Mon, 14 Oct 2024 09:01:24 +0200 Subject: [PATCH] fix: 475 fix(catalogue): Data access fee and Prelinked fields (#4331) Closes #475 --- .../[catalogue]/[resourceType]/[resource]/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/nuxt3-ssr/pages/[schema]/ssr-catalogue/[catalogue]/[resourceType]/[resource]/index.vue b/apps/nuxt3-ssr/pages/[schema]/ssr-catalogue/[catalogue]/[resourceType]/[resource]/index.vue index 5502a00ab6..902ff79e71 100644 --- a/apps/nuxt3-ssr/pages/[schema]/ssr-catalogue/[catalogue]/[resourceType]/[resource]/index.vue +++ b/apps/nuxt3-ssr/pages/[schema]/ssr-catalogue/[catalogue]/[resourceType]/[resource]/index.vue @@ -428,13 +428,13 @@ let accessConditionsItems = computed(() => { content: resource.value.dataUseConditions, }); } - if (resource.value.dataAccessFee) { + if (resource.value.dataAccessFee !== undefined) { items.push({ label: "Data access fee", content: resource.value.dataAccessFee, }); } - if (resource.value.releaseType) { + if (resource.value.releaseType !== undefined) { items.push({ label: "Release type", type: "ONTOLOGY" as DefinitionListItemType, @@ -447,7 +447,7 @@ let accessConditionsItems = computed(() => { content: resource.value.releaseDescription, }); } - if (resource.value.prelinked) { + if (resource.value.prelinked !== undefined) { items.push({ label: "Prelinked", content: resource.value.prelinked,