mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 18:45:59 +00:00
perspective fixes
This commit is contained in:
@@ -154,21 +154,9 @@
|
||||
if (shouldProcessPerspectiveDefaultColunns(config, $dbInfos, conid, database)) {
|
||||
setConfig(cfg => processPerspectiveDefaultColunns(cfg, $dbInfos, conid, database));
|
||||
}
|
||||
// tick().then(() => {
|
||||
// const newConfig = processPerspectiveDefaultColunns(config, $dbInfos, conid, database);
|
||||
// if (newConfig) {
|
||||
// if (
|
||||
// newConfig.nodes.filter(x => x.defaultColumnsProcessed).length >
|
||||
// config.nodes.filter(x => x.defaultColumnsProcessed).length
|
||||
// ) {
|
||||
// console.log('CONFIG CHANGED');
|
||||
// setConfig(() => newConfig);
|
||||
// } else {
|
||||
// console.warn('No new default columns', newConfig);
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
}
|
||||
|
||||
// $: console.log('PERSPECTIVE', config);
|
||||
</script>
|
||||
|
||||
<HorizontalSplitter initialValue={getInitialManagerSize()} bind:size={managerSize}>
|
||||
|
||||
Reference in New Issue
Block a user