- git rm --cached .env

- only show dataset.identifier if defined in dataset-detail.component.vue
This commit is contained in:
Arno Kaimbacher 2022-01-13 18:03:17 +01:00
parent c47934732b
commit 110fbcac63
2 changed files with 3 additions and 5 deletions

4
.env
View File

@ -1,4 +0,0 @@
#NODE_ENV=production
NODE_ENV=development
VUE_APP_PORTAL=//data.geologie.ac.at

View File

@ -56,7 +56,9 @@
<div class="column">
<label class="label">
{{ getCitation() }}
<a class="link-label" v-bind:href="'https://doi.org/' + dataset.identifier.value">({{ "https://doi.org/" + dataset.identifier.value }})</a>
<a v-if="dataset.identifier" class="link-label" v-bind:href="'https://doi.org/' + dataset.identifier.value"
>({{ "https://doi.org/" + dataset.identifier.value }})</a
>
</label>
</div>
</div>