Skip to content

Commit

Permalink
fix: adjust string matching conditions for summarising external porta…
Browse files Browse the repository at this point in the history
…l changes on publish (#3850)
  • Loading branch information
jessicamcinchak authored Oct 25, 2024
1 parent 4fdddaf commit b535643
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export const AlteredNodesSummaryContent = (props: {
} else if (node.id && Object.keys(node).length === 1) {
changeSummary["deleted"] += 1;
} else if (node.type === TYPES.InternalPortal) {
if (node.data?.text?.includes("/")) {
if (node.data?.text?.includes("/") && !node.data?.text?.includes(" ")) {
changeSummary["portals"].push({ ...node.data, flowId: node.id });
}
} else if (node.type) {
Expand Down

0 comments on commit b535643

Please sign in to comment.