From b312c7622baa94402833485daa6996a8a6dc8a14 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Wed, 28 Feb 2024 18:29:46 +0100 Subject: [PATCH] fix(desktop): allow avatar menu on desktop Signed-off-by: Grigorii K. Shartsev --- src/components/AvatarWrapper/AvatarWrapper.vue | 4 +--- src/components/TopBar/TopBar.vue | 7 ------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/components/AvatarWrapper/AvatarWrapper.vue b/src/components/AvatarWrapper/AvatarWrapper.vue index d0e6caa839de..f89b07183473 100644 --- a/src/components/AvatarWrapper/AvatarWrapper.vue +++ b/src/components/AvatarWrapper/AvatarWrapper.vue @@ -174,9 +174,7 @@ export default { return this.menuContainer ?? this.$store.getters.getMainContainerSelector() }, isDisabledMenu() { - // NcAvatarMenu doesn't work on Desktop - // See: https://github.com/nextcloud/talk-desktop/issues/34 - return IS_DESKTOP || this.disableMenu + return this.disableMenu }, }, } diff --git a/src/components/TopBar/TopBar.vue b/src/components/TopBar/TopBar.vue index a99fff4a8c68..19a377b3ab58 100644 --- a/src/components/TopBar/TopBar.vue +++ b/src/components/TopBar/TopBar.vue @@ -25,7 +25,6 @@ class="conversation-icon" :offline="isPeerInactive" :item="conversation" - :disable-menu="disableMenu" show-user-online-status :hide-favorite="false" :hide-call="false" /> @@ -300,12 +299,6 @@ export default { return n('spreed', '%n participant in call', '%n participants in call', this.$store.getters.participantsInCall(this.token)) }, - disableMenu() { - // NcAvatarMenu doesn't work on Desktop - // See: https://github.com/nextcloud/talk-desktop/issues/34 - return IS_DESKTOP - }, - supportedReactions() { return getCapabilities()?.spreed?.config?.call?.['supported-reactions'] },