From 294c446a5f5b267220ed86ec04664acadad47b0b Mon Sep 17 00:00:00 2001 From: xaralis <filip.varecha@fragaria.cz> Date: Mon, 6 Jun 2022 16:23:48 +0100 Subject: [PATCH] fix: title not rendered for whole feature collection detail, only for indivudal bits --- maps_utils/static/maps_utils/geo-feature-collection.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/maps_utils/static/maps_utils/geo-feature-collection.js b/maps_utils/static/maps_utils/geo-feature-collection.js index 641658f8..c2c035a2 100644 --- a/maps_utils/static/maps_utils/geo-feature-collection.js +++ b/maps_utils/static/maps_utils/geo-feature-collection.js @@ -772,13 +772,12 @@ const GeoFeatureCollection = Vue.component("GeoFeatureCollection", { </div> <div class="card-headline flex items-center mb-2"> <span v-if="currentItem.index" class="rounded-full inline-flex items-center justify-center bg-grey-125 font-bold text-center text-sm w-6 h-6 mr-2">{{ currentItem.index }}</span> - <span>{{ currentItem.collectionTitle }}</span> + <span>{{ currentItem.title }}</span> </div> <div class="card-body-text space-y-4"> - <div v-if="currentItem.collectionDescription">{{ currentItem.collectionDescription }}</div> - <div v-if="currentItem.selfTitle"> + <div v-if="currentItem.selfTitle && currentItem.description"> <h2 class="head-allcaps-4xs">{{ currentItem.selfTitle }}</h2> <div v-if="currentItem.description">{{ currentItem.description }}</div> </div> -- GitLab