mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 02:06:01 +00:00
UX
This commit is contained in:
@@ -20,6 +20,7 @@ export interface TabDefinition {
|
||||
tabComponent: string;
|
||||
tabOrder?: number;
|
||||
multiTabIndex?: number;
|
||||
unsaved?: boolean;
|
||||
}
|
||||
|
||||
export function writableWithStorage<T>(defaultValue: T, storageName) {
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
tabComponent={mountedTabs[tabid]}
|
||||
{...openedTabsByTabId[tabid]?.props}
|
||||
{tabid}
|
||||
unsaved={openedTabsByTabId[tabid]?.unsaved}
|
||||
tabVisible={tabid == shownTab?.tabid}
|
||||
/>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user