From bdf94bdf7eb0ee3f953ddf2eb1af742a62e0b63c Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Tue, 4 Nov 2025 22:34:38 -0800 Subject: [PATCH] fix: keep topbar badges in main topbar regardless of workflow tabs position (#6592) ## Summary Fixes incorrect badge placement from PR #6515. Badges should remain in the main topbar row at all times, not move to the second row with workflow tabs. ## Problem PR #6515 added `TopbarBadges` to `SecondRowWorkflowTabs.vue`, causing badges to appear in the second row when workflow tabs position was set to `'Topbar (2nd-row)'`. The original issue was that badges weren't visible when tabs were in second-row mode because they were conditionally rendered only when `workflowTabsPosition === 'Topbar'`. ## Changes - Remove `TopbarBadges` from `SecondRowWorkflowTabs.vue` (badges should never be in second row) - Move `TopbarBadges` from conditional workflow tabs row to main topbar in `TopMenubar.vue` - Badges now always display in main topbar regardless of workflow tabs position ## Testing - Badges visible in main topbar when `workflowTabsPosition === 'Topbar'` - Badges visible in main topbar when `workflowTabsPosition === 'Topbar (2nd-row)'` - Workflow tabs correctly move to second row without badges Fixes issue introduced in #6515 --- src/components/topbar/SecondRowWorkflowTabs.vue | 4 +--- src/components/topbar/TopMenubar.vue | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/topbar/SecondRowWorkflowTabs.vue b/src/components/topbar/SecondRowWorkflowTabs.vue index c4745b23f..777f4944a 100644 --- a/src/components/topbar/SecondRowWorkflowTabs.vue +++ b/src/components/topbar/SecondRowWorkflowTabs.vue @@ -1,12 +1,10 @@ diff --git a/src/components/topbar/TopMenubar.vue b/src/components/topbar/TopMenubar.vue index 8e9bf015f..2c4df556e 100644 --- a/src/components/topbar/TopMenubar.vue +++ b/src/components/topbar/TopMenubar.vue @@ -6,7 +6,6 @@ style="background: var(--border-color)" > -
+