edges with the right color
This commit is contained in:
parent
53fa5cb2e5
commit
b1ad21626a
1 changed files with 3 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ export function TabsProvider({ children }: { children: ReactNode }) {
|
|||
cookieObject.flows.forEach((flow) => {
|
||||
flow.data.edges.forEach((edge) => {
|
||||
edge.className = "";
|
||||
edge.style={stroke: "#222222" }
|
||||
|
||||
});
|
||||
flow.data.nodes.forEach((node) => {
|
||||
if (Object.keys(templates[node.data.type]["template"]).length > 0) {
|
||||
|
|
@ -289,6 +291,7 @@ export function TabsProvider({ children }: { children: ReactNode }) {
|
|||
if (data) {
|
||||
data.edges.forEach((edge) => {
|
||||
edge.className = "";
|
||||
edge.style={stroke: "#222222" }
|
||||
});
|
||||
data.nodes.forEach((node) => {
|
||||
if (Object.keys(templates[node.data.type]["template"]).length > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue