Hide the whole metadata block if group has no description

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-04-20 19:15:06 +02:00
parent 3f32b3409f
commit 0bc7864cb3
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -537,12 +537,11 @@
$t("View full profile")
}}</a>
</b-message>
<event-metadata-block :title="$t('About')">
<div
dir="auto"
v-html="group.summary"
v-if="group.summary && group.summary !== '<p></p>'"
/>
<event-metadata-block
:title="$t('About')"
v-if="group.summary && group.summary !== '<p></p>'"
>
<div dir="auto" v-html="group.summary" />
</event-metadata-block>
<event-metadata-block :title="$t('Members')" icon="account-group">
{{