Skip to content

Commit

Permalink
fix: 475 fix(catalogue): Data access fee and Prelinked fields (#4331)
Browse files Browse the repository at this point in the history
Closes #475
  • Loading branch information
connoratrug authored Oct 14, 2024
1 parent 810c8e9 commit be6a482
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit be6a482

Please sign in to comment.