Removed unused console.log and fixed takeSnapshot logic
This commit is contained in:
parent
61504d8702
commit
47885cd5f0
7 changed files with 8 additions and 16 deletions
|
|
@ -120,6 +120,9 @@ export default function ParameterComponent({
|
|||
const handleOnNewValue = (
|
||||
newValue: string | string[] | boolean | Object[]
|
||||
): void => {
|
||||
if (data.node!.template[name].value === newValue) {
|
||||
return;
|
||||
}
|
||||
takeSnapshot();
|
||||
data.node!.template[name].value = newValue;
|
||||
// Set state to pending
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue