From 1f7d6cde5e7d2e8ebb9a2882db0ce52a4853b407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Wed, 1 Apr 2026 15:22:19 +0200 Subject: [PATCH] Don't end account dropdown menu with a separator (#38481) --- .../features/account_timeline/components/menu.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/app/javascript/mastodon/features/account_timeline/components/menu.tsx b/app/javascript/mastodon/features/account_timeline/components/menu.tsx index cd1ec82e4f..6ef0375702 100644 --- a/app/javascript/mastodon/features/account_timeline/components/menu.tsx +++ b/app/javascript/mastodon/features/account_timeline/components/menu.tsx @@ -212,13 +212,14 @@ function currentMenuItems({ } if (isRemote) { - items.push( - { - text: intl.formatMessage(messages.openOriginalPage), - href: account.url, - }, - null, - ); + items.push({ + text: intl.formatMessage(messages.openOriginalPage), + href: account.url, + }); + + if (signedIn) { + items.push(null); + } } if (!signedIn) {