mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 21:16:00 +00:00
free table editor => data sheet
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { createFreeTableModel, runMacro } from 'dbgate-datalib';
|
||||
import { setContext } from 'svelte';
|
||||
import { writable } from 'svelte/store';
|
||||
import registerCommand from '../commands/registerCommand';
|
||||
import DataGrid from '../datagrid/DataGrid.svelte';
|
||||
import ErrorInfo from '../elements/ErrorInfo.svelte';
|
||||
@@ -81,6 +83,9 @@
|
||||
dispatchModel({ type: 'set', value: newModel });
|
||||
}
|
||||
|
||||
const collapsedLeftColumnStore = writable(false);
|
||||
setContext('collapsedLeftColumnStore', collapsedLeftColumnStore);
|
||||
|
||||
registerMenu({ command: 'freeTable.save', tag: 'save' });
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user