diff --git a/packages/web/src/datagrid/DataGrid.svelte b/packages/web/src/datagrid/DataGrid.svelte index 61ab5354..d85c6672 100644 --- a/packages/web/src/datagrid/DataGrid.svelte +++ b/packages/web/src/datagrid/DataGrid.svelte @@ -48,7 +48,7 @@ + + collapsedLeftColumnStore.update(x => !x)} +/> diff --git a/packages/web/src/tabs/ViewDataTab.svelte b/packages/web/src/tabs/ViewDataTab.svelte index 8a1c8a46..827b1a6b 100644 --- a/packages/web/src/tabs/ViewDataTab.svelte +++ b/packages/web/src/tabs/ViewDataTab.svelte @@ -6,13 +6,16 @@ {#if display} @@ -54,3 +60,10 @@ gridCoreComponent={SqlDataGridCore} /> {/if} + + collapsedLeftColumnStore.update(x => !x)} +/> diff --git a/packages/web/src/widgets/StatusBarTabItem.svelte b/packages/web/src/widgets/StatusBarTabItem.svelte index 60902f79..f813cb3b 100644 --- a/packages/web/src/widgets/StatusBarTabItem.svelte +++ b/packages/web/src/widgets/StatusBarTabItem.svelte @@ -16,4 +16,6 @@ updateStatuBarInfoItem(tabid, key, { text, icon, clickable, onClick }); }); onDestroy(() => updateStatuBarInfoItem(tabid, key, null)); + + $: updateStatuBarInfoItem(tabid, key, { text, icon, clickable, onClick });