Skip to content

Commit

Permalink
fix(designer): Dont use slashes in node names from azure resources (#…
Browse files Browse the repository at this point in the history
…4430)

fix(designer): Dont allow slashes in node names from azure resources
  • Loading branch information
hartra344 committed Mar 25, 2024
1 parent 8a5753a commit f3b2e5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const AzureResourceSelection = (props: AzureResourceSelectionProps) => {
const addResourceOperation = useCallback(
(props: AddResourceOperationParameters) => {
const { name, presetParameterValues, actionMetadata } = props;
const newNodeId = name.replaceAll(' ', '_');
const newNodeId = name.replaceAll(' ', '_').replaceAll('/', '-');
dispatch(
addOperation({
operation,
Expand Down

0 comments on commit f3b2e5d

Please sign in to comment.