fix opening the execution config modal (#3268)

fixes: #3256
This commit is contained in:
Erik Jan de Wit 2022-09-08 12:05:23 +02:00 committed by GitHub
parent 57b52309f0
commit 698f30e02c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,8 +80,8 @@ export const ExecutionConfigModal = ({
);
useEffect(() => {
if (configDescription) setupForm(config);
}, [show]);
if (config) setupForm(config);
}, [config]);
const save = async (changedConfig: ExecutionConfigModalForm) => {
try {