From b672b62e0df42804d6c72bd363eb52800590132a Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 20 Apr 2023 14:33:51 +0200 Subject: [PATCH] no pin post button for posts in group --- webapp/components/ContentMenu/ContentMenu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/components/ContentMenu/ContentMenu.vue b/webapp/components/ContentMenu/ContentMenu.vue index 60bcccf43..d723a9667 100644 --- a/webapp/components/ContentMenu/ContentMenu.vue +++ b/webapp/components/ContentMenu/ContentMenu.vue @@ -80,7 +80,7 @@ export default { }) } - if (this.isAdmin) { + if (this.isAdmin && !this.resource.group) { if (!this.resource.pinnedBy) { routes.push({ label: this.$t(`post.menu.pin`),