Skip to content
Snippets Groups Projects
Commit 0086bef6 authored by a_asadi's avatar a_asadi
Browse files

fix: rename visualize -> preview + rearrange

parent 8bf17bf4
No related branches found
No related tags found
No related merge requests found
<template>
<div class="d-flex flex-sm-row flex-md-column flex-lg-row justify-content-start
justify-content-lg-end mt-2 text-md-right col text-left distribution-actions">
<!-- button of new visualization tool -->
<!-- <distribution-visualize-button v-if="showVisualisationButton && showVisualisationLink(distribution)" class="distribution-action btn btn-sm visualise-btn pt-0" @click="$emit('displayVisualisation', getDownloadUrl)">{{ $t('message.datasetDetails.preview') }}</distribution-visualize-button> -->
<div v-if="showVisualisationButton && showVisualisationLink(distribution) && !" class="distribution-action btn btn-sm visualise-btn pt-0" @click="$emit('displayVisualisation', getDownloadUrl)">{{ $t('message.datasetDetails.preview') }}</div>
<!-- TODO: remove distribution-preview button once the new visualisation service is online -->
<distribution-preview v-if="!hidePreviewButton && getCatalog.is_part_of !== 'erpd' && !showVisualisationButton" :isUrlInvalid="isUrlInvalid"
:getVisualisationLink="getVisualisationLink" :distribution="distribution" :openIfValidUrl="openIfValidUrl"
......@@ -17,7 +20,6 @@
Validate
</app-link>
</div>
<div v-if="showVisualisationButton && showVisualisationLink(distribution)" class="distribution-action btn btn-sm visualise-btn pt-0" @click="$emit('displayVisualisation', getDownloadUrl)">Visualise</div>
</div>
</template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment