From e25f13582ea84ee2b2523096362a15ed46089c3f Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 30 Apr 2021 08:03:30 +0200 Subject: [PATCH] fix vue warnings Signed-off-by: Thomas Citharel --- js/src/components/Comment/CommentTree.vue | 7 ++++--- js/src/views/Group/Group.vue | 10 +++++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/js/src/components/Comment/CommentTree.vue b/js/src/components/Comment/CommentTree.vue index 2e6b1db6..3f3c64e5 100644 --- a/js/src/components/Comment/CommentTree.vue +++ b/js/src/components/Comment/CommentTree.vue @@ -48,8 +48,9 @@ > {{ $t("Loading comments…") }}

- + -
+
{{ $t("No comments yet") }}
- +
diff --git a/js/src/views/Group/Group.vue b/js/src/views/Group/Group.vue index 0d3d5280..03c970b8 100644 --- a/js/src/views/Group/Group.vue +++ b/js/src/views/Group/Group.vue @@ -31,7 +31,11 @@ {{ $t("You have been removed from this group's members.") }} {{ @@ -735,6 +739,10 @@ export default class Group extends mixins(GroupMixin) { ); } + get isCurrentActorOnADifferentDomainThanGroup(): boolean { + return this.group.domain !== null; + } + get members(): IMember[] { return this.group.members.elements.filter( (member) =>