From 7896d00a7a545a61631bb5a11eb174da9166d613 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 8 May 2024 11:49:04 +0200 Subject: [PATCH] FIX: incorrect divider in topic admin menu (#26934) Adds a divider only if we are staff or have extra buttons. --- .../javascripts/discourse/app/components/topic-admin-menu.gjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/topic-admin-menu.gjs b/app/assets/javascripts/discourse/app/components/topic-admin-menu.gjs index 511a57b4c2f..7b054f69f36 100644 --- a/app/assets/javascripts/discourse/app/components/topic-admin-menu.gjs +++ b/app/assets/javascripts/discourse/app/components/topic-admin-menu.gjs @@ -281,11 +281,11 @@ export default class TopicAdminMenu extends Component { @icon="hourglass-start" /> - - {{/if}} {{#if (or this.currentUser.staff this.extraButtons.length)}} + + {{#if this.currentUser.staff}}