From 586c281c5ca86dbbeef7fca4b27c7df39e5bc712 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Wed, 19 Aug 2020 15:36:22 +0200 Subject: [PATCH] Do not display offline (and invisible) as a status Signed-off-by: Georg Ehrke --- src/components/Avatar/Avatar.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Avatar/Avatar.vue b/src/components/Avatar/Avatar.vue index 4388efcea0..45fda75be9 100644 --- a/src/components/Avatar/Avatar.vue +++ b/src/components/Avatar/Avatar.vue @@ -254,7 +254,9 @@ export default { }, computed: { canDisplayUserStatus() { - return this.showUserStatus && this.hasStatus + return this.showUserStatus + && this.hasStatus + && ['online', 'away', 'dnd'].includes(this.userStatus.status) }, getUserIdentifier() { if (this.isDisplayNameDefined) { @@ -570,9 +572,6 @@ export default { @include iconfont('user-status-away'); color: #f4a331; } - &--offline{ - @include iconfont('user-status-invisible'); - } } .popovermenu-wrapper {