From fbcb7254283e65e1933d7727bd8f87666765ddfe Mon Sep 17 00:00:00 2001 From: Jake <134332787+justjxke@users.noreply.github.com> Date: Tue, 28 Apr 2026 12:35:22 +0100 Subject: [PATCH] fix(channelTabs): honor new tab button behaviour (#1022) --- .../components/ChannelTabsContainer.tsx | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx b/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx index d878f1c49..674e514db 100644 --- a/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx +++ b/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx @@ -288,6 +288,16 @@ export default function ChannelsTabsContainer(props: BasicChannelTabsProps) { if (isFullscreen) return null; + const shouldFollowNewTabButton = newTabButtonBehavior && !tabsOverflow; + const newTabButton = ( + + ); + return (