Added ability to close non-primary tabs involved in a split view (#435)

This commit was merged in pull request #435.
This commit is contained in:
jarrah31
2025-11-10 19:31:22 +00:00
committed by GitHub
parent b0523f995c
commit 966758ecf8

View File

@@ -360,7 +360,7 @@ export function TopNavbar({
isSplitScreenActive);
const isHome = tab.type === "home";
const disableClose =
(isSplitScreenActive && isActive) || isSplit || isHome;
(isSplitScreenActive && isActive) || isHome;
const isDraggingThisTab = dragState.draggedIndex === index;
const isTheDraggedTab = tab.id === dragState.draggedId;