mongo query splitter, copy as mongo insert

This commit is contained in:
Jan Prochazka
2021-12-02 10:00:48 +01:00
parent 368993597c
commit 536897a84c
10 changed files with 67 additions and 14 deletions

View File

@@ -55,6 +55,7 @@
import { registerMenu } from '../utility/contextMenu';
import EditJsonModal from '../modals/EditJsonModal.svelte';
import ChangeSetGrider from '../datagrid/ChangeSetGrider';
import { setContext } from 'svelte';
export let tabid;
export let conid;
@@ -89,7 +90,8 @@
config.update,
$cache,
cache.update,
loadedRows
loadedRows,
$changeSetStore?.value
)
: null;
// $: console.log('LOADED ROWS MONGO', loadedRows);
@@ -145,6 +147,9 @@
}
registerMenu({ command: 'collectionTable.save', tag: 'save' }, { command: 'collectionTable.newJson', tag: 'edit' });
const collapsedLeftColumnStore = writable(false);
setContext('collapsedLeftColumnStore', collapsedLeftColumnStore);
</script>
<DataGrid