mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-25 18:38:33 -04:00
[ENG-1437] don't render tab bar if <2 tabs (#1789)
don't render tab bar if <2 tabs
This commit is contained in:
1 parent
1e512572be
commit
5578ff9cd5
1 file changed
+2
@@ -98,6 +98,8 @@ function Tabs() {
|
||||
|
||||
useTabKeybinds({ addTab, removeTab });
|
||||
|
||||
if (ctx.tabs.length < 2) return null;
|
||||
|
||||
return (
|
||||
<div
|
||||
data-tauri-drag-region
|
||||
|
||||
Reference in new issue
Block a user