mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 01:45:59 +00:00
custom joins
This commit is contained in:
@@ -89,7 +89,8 @@ export function getPerspectiveNodeMenu(props: PerspectiveNodeMenuProps) {
|
||||
onClick: () =>
|
||||
setConfig(cfg => ({
|
||||
...cfg,
|
||||
customJoins: (cfg.customJoins || []).filter(x => x.joinid != customJoin.joinid),
|
||||
nodes: (cfg.nodes || []).filter(x => x.designerId != customJoin.refNodeDesignerId),
|
||||
references: (cfg.references || []).filter(x => x.designerId != customJoin.referenceDesignerId),
|
||||
})),
|
||||
},
|
||||
customJoin && {
|
||||
|
||||
Reference in New Issue
Block a user