fix filters with "N" as output

This commit is contained in:
Sam Lavigne 2023-09-01 13:49:43 -04:00
parent b54aa4e82b
commit 5b4ce1fe26
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ export const previewCommand = derived([edges, nodes], ([$edges, $nodes]) => {
// create edge labels for each filter
function traverseEdges(edg, type) {
const outEdges = $edges.filter((e) => e.source === edg.target && e.sourceHandle.includes(type));
const outEdges = $edges.filter((e) => e.source === edg.target && (e.sourceHandle.includes(type) || e.sourceHandle.includes("n")));
let label;