[go: up one dir, main page]

Skip to content

Commit

Permalink
- FIX: Fixed an issue where the link to the data resources page was s…
Browse files Browse the repository at this point in the history
…hown in dataset tables even if it was deactivated.
  • Loading branch information
sebastian-raubach committed Jan 15, 2024
1 parent 2713d9b commit a7f8ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tables/DatasetTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
</template>
<!-- Show file resources -->
<template v-slot:cell(fileresourceIds)="data">
<b-button class="text-nowrap" @click="showFileresources(data.item)" v-if="data.item.fileresourceIds && data.item.fileresourceIds.length > 0"><MdiIcon :path="mdiAttachment"/> {{ $t('buttonShow') }}</b-button>
<b-button class="text-nowrap" @click="showFileresources(data.item)" v-if="data.item.fileresourceIds && data.item.fileresourceIds.length > 0 && isPageAvailable(Pages.dataResources)"><MdiIcon :path="mdiAttachment"/> {{ $t('buttonShow') }}</b-button>
</template>
<!-- Download the dataset -->
<template v-slot:cell(download)="data">
Expand Down

0 comments on commit a7f8ce9

Please sign in to comment.