From e36f8f53ab63ab3fee0f43f668e95bed81f1e591 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 21 Apr 2022 11:53:42 +0200 Subject: [PATCH] Hide address blocks when address has no real data Closes #1085 Signed-off-by: Thomas Citharel --- js/src/components/Group/GroupCard.vue | 5 ++++- js/src/views/Group/Group.vue | 11 +++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/js/src/components/Group/GroupCard.vue b/js/src/components/Group/GroupCard.vue index 2ac23002d..f2a711b4a 100644 --- a/js/src/components/Group/GroupCard.vue +++ b/js/src/components/Group/GroupCard.vue @@ -39,7 +39,7 @@

@@ -65,6 +65,7 @@ import { displayName, IGroup, usernameWithDomain } from "@/types/actor"; import LazyImageWrapper from "@/components/Image/LazyImageWrapper.vue"; import RouteName from "../../router/name"; import InlineAddress from "@/components/Address/InlineAddress.vue"; +import { addressFullName } from "@/types/address.model"; @Component({ components: { @@ -80,6 +81,8 @@ export default class GroupCard extends Vue { usernameWithDomain = usernameWithDomain; displayName = displayName; + + addressFullName = addressFullName; }