mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 07:16:01 +00:00
perspective: view fix, UX
This commit is contained in:
@@ -106,10 +106,11 @@ export function createPerspectiveNodeConfig(name: { schemaName?: string; pureNam
|
||||
|
||||
expandedColumns: [],
|
||||
checkedColumns: [],
|
||||
// uncheckedColumns: [],
|
||||
|
||||
sort: [],
|
||||
filters: {},
|
||||
|
||||
isNodeChecked: true,
|
||||
};
|
||||
|
||||
return node;
|
||||
@@ -117,7 +118,6 @@ export function createPerspectiveNodeConfig(name: { schemaName?: string; pureNam
|
||||
|
||||
export function createPerspectiveConfig(rootObject: { schemaName?: string; pureName: string }): PerspectiveConfig {
|
||||
const rootNode = createPerspectiveNodeConfig(rootObject);
|
||||
rootNode.isNodeChecked = true;
|
||||
return {
|
||||
nodes: [rootNode],
|
||||
references: [],
|
||||
|
||||
Reference in New Issue
Block a user