Added ability to close non-primary tabs involved in a split view #435
@@ -340,7 +340,7 @@ export function TopNavbar({
|
|||||||
isSplitScreenActive);
|
isSplitScreenActive);
|
||||||
const isHome = tab.type === "home";
|
const isHome = tab.type === "home";
|
||||||
const disableClose =
|
const disableClose =
|
||||||
(isSplitScreenActive && isActive) || isSplit || isHome;
|
(isSplitScreenActive && isActive) || isHome;
|
||||||
|
|
||||||
const isDraggingThisTab = dragState.draggedIndex === index;
|
const isDraggingThisTab = dragState.draggedIndex === index;
|
||||||
const isTheDraggedTab = tab.id === dragState.draggedId;
|
const isTheDraggedTab = tab.id === dragState.draggedId;
|
||||||
|
|||||||
Reference in New Issue
Block a user