diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Publish/PublishDialog.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Publish/PublishDialog.tsx index 4317d73d8f..708683c062 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Publish/PublishDialog.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Publish/PublishDialog.tsx @@ -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) {