Skip to content

Commit

Permalink
Fix downloaded button
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmervdl committed Sep 18, 2023
1 parent 3e258ea commit abd7bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/AddDatasetView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const countFormat = new Intl.NumberFormat();
<div class="dataset" v-for="dataset in datasets" :key="dataset.id" :id="`did-${dataset.id}`">
<div class="dataset-name">
<h3 class="dataset-title"><a :href="`https://opus.nlpl.eu/${dataset.corpus}-${dataset.version}.php`" target="_blank">{{ dataset.corpus }}</a></h3>
<button v-if="'paths' in dataset" class="download-dataset-button" disabled="disabled">
<button v-if="'paths' in dataset || isDownloading(dataset).state === 'downloaded'" class="download-dataset-button" disabled="disabled">
Downloaded
<CheckIcon class="download-icon"/>
</button>
Expand Down

0 comments on commit abd7bac

Please sign in to comment.