🐛 fix(ApiModal/index.tsx): fix startState function to properly reset tweak and tweaksList variables

✨ feat(ApiModal/index.tsx): add logic to reset tweak and tweaksList variables when flow data nodes length is 0
This commit is contained in:
Cristhian Zanforlin Lousa 2023-07-14 21:52:26 -03:00
commit de2a24fa5d
2 changed files with 12 additions and 5 deletions

View file

@ -3577,7 +3577,7 @@
"version": "16.18.12",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.12.tgz",
"integrity": "sha512-vzLe5NaNMjIE3mcddFVGlAXN1LEWueUsMsOJWaT6wWMJGyljHAWHznqfnKUQWGzu7TLPrGvWdNAsvQYW+C0xtw==",
"devOptional": true
"dev": true
},
"node_modules/@types/parse-json": {
"version": "4.0.0",
@ -5623,6 +5623,7 @@
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"dev": true,
"hasInstallScript": true,
"optional": true,
"os": [