From c8d715167a577d9f2ab8cdbb5c4b3a97fc37e2e0 Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Thu, 13 Apr 2023 17:54:01 +0200 Subject: [PATCH] Hid post access context menu action when members are disabled refs https://github.com/TryGhost/Team/issues/2922 --- .../admin/app/components/posts-list/context-menu.hbs | 12 +++++++----- .../admin/app/components/posts-list/context-menu.js | 1 + 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ghost/admin/app/components/posts-list/context-menu.hbs b/ghost/admin/app/components/posts-list/context-menu.hbs index e50aa348c7..ffc5820fe8 100644 --- a/ghost/admin/app/components/posts-list/context-menu.hbs +++ b/ghost/admin/app/components/posts-list/context-menu.hbs @@ -27,11 +27,13 @@ {{svg-jar "tag"}}Add a tag -
  • - -
  • + {{#if this.membersUtils.isMembersEnabled}} +
  • + +
  • + {{/if}} {{#if this.session.user.isAdmin}}