fix(graph-collection-manager):graph collection cannot open edit modal (#2759)
* style: graph collection stye improve * fix(graph-collection): graph collection cantnot open edit modal
This commit is contained in:
parent
b4d2102e75
commit
1b3b07f029
@ -613,7 +613,7 @@ export const GraphDrawPage = React.memo(() => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const handleConnectionAssociation = ({ target, through }) => {
|
const handleConnectionAssociation = ({ target, through }) => {
|
||||||
const data = targetGraph.selectedCollections.split(',') || [];
|
const data = targetGraph.selectedCollections?.split(',') || [];
|
||||||
data.push(target);
|
data.push(target);
|
||||||
through && data.push(through);
|
through && data.push(through);
|
||||||
const queryString = uniq(data).toString();
|
const queryString = uniq(data).toString();
|
||||||
|
@ -442,7 +442,7 @@ const Entity: React.FC<{
|
|||||||
}}
|
}}
|
||||||
schema={{
|
schema={{
|
||||||
type: 'object',
|
type: 'object',
|
||||||
name: uid(),
|
name: node.id,
|
||||||
properties: {
|
properties: {
|
||||||
connectParent: {
|
connectParent: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
|
@ -163,6 +163,9 @@ const useStyles = createStyles(({ token, css }) => {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
min-width: 50%;
|
min-width: 50%;
|
||||||
|
.ant-badge {
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.type {
|
.type {
|
||||||
|
Loading…
Reference in New Issue
Block a user