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") $t("View full profile")
}}</a> }}</a>
</b-message> </b-message>
<event-metadata-block :title="$t('About')"> <event-metadata-block
<div :title="$t('About')"
dir="auto" v-if="group.summary && group.summary !== '<p></p>'"
v-html="group.summary" >
v-if="group.summary && group.summary !== '<p></p>'" <div dir="auto" v-html="group.summary" />
/>
</event-metadata-block> </event-metadata-block>
<event-metadata-block :title="$t('Members')" icon="account-group"> <event-metadata-block :title="$t('Members')" icon="account-group">
{{ {{