diff --git a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx index b41d3f037..55c732f79 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx @@ -120,10 +120,9 @@ export default function ParameterComponent({ const handleOnNewValue = ( newValue: string | string[] | boolean | Object[] ): void => { - if (data.node!.template[name].value === newValue) { - return; + if (data.node!.template[name].value !== newValue) { + takeSnapshot(); } - takeSnapshot(); data.node!.template[name].value = newValue; // Set state to pending //@ts-ignore