Skip to content
Snippets Groups Projects
Commit ec047bb1 authored by Sjoerd's avatar Sjoerd Committed by Leonardo Christino
Browse files

fix: filter out neo4j bloom pils in schema

parent 219d21dc
No related branches found
Tags v1.81.3
1 merge request!234fix: filter out neo4j bloom pils in schema
Pipeline #138924 failed
......@@ -98,6 +98,9 @@ export const Schema = (props: Props) => {
await layout.current?.layout(expandedSchema, xy);
const schemaFlow = schemaGraphology2Reactflow(expandedSchema, settings.connectionType, settings.animatedEdges);
schemaFlow.nodes = schemaFlow.nodes.filter((node) => !node.id.toLowerCase().includes('bloom'));
schemaFlow.edges = schemaFlow.edges.filter((edge) => !edge.id.toLowerCase().includes('bloom'));
let nodesWithRef, edgesWithRef;
if (!hasLayoutBeenRun) {
nodesWithRef = schemaFlow.nodes.map((node) => {
......@@ -263,10 +266,7 @@ export const Schema = (props: Props) => {
</>
}
>
<div
className="schema-panel w-full h-full flex flex-col justify-between"
ref={reactFlowRef}
>
<div className="schema-panel w-full h-full flex flex-col justify-between" ref={reactFlowRef}>
{nodes.length === 0 ? (
<p className="m-3 text-xl font-bold">No Elements</p>
) : (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment