mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 04:06:00 +00:00
vertical split tabs #394
This commit is contained in:
@@ -4,8 +4,12 @@
|
||||
import TabContent from './TabContent.svelte';
|
||||
import tabs from '../tabs';
|
||||
|
||||
export let multiTabIndex;
|
||||
|
||||
let mountedTabs = {};
|
||||
$: selectedTab = $openedTabs.find(x => x.selected && x.closedTime == null);
|
||||
$: selectedTab = $openedTabs.find(
|
||||
x => (x.selected || x.visibleSecondary) && x.closedTime == null && (x.multiTabIndex || 0) == multiTabIndex
|
||||
);
|
||||
|
||||
// cleanup closed tabs
|
||||
$: {
|
||||
|
||||
Reference in New Issue
Block a user