Skip to content

Commit

Permalink
fix(ui): fix create app panel reappear after closed (argoproj#19717)
Browse files Browse the repository at this point in the history
Signed-off-by: henry.liu <[email protected]>
  • Loading branch information
lsq645599166 committed Aug 29, 2024
1 parent 0acecad commit 1bbe17e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ export const ApplicationCreatePanel = (props: {
} else {
setDestFormat('URL');
}
}, []);

return () => {
debouncedOnAppChanged.cancel();
};
}, [debouncedOnAppChanged]);

function normalizeTypeFields(formApi: FormApi, type: models.AppSourceType) {
const appToNormalize = formApi.getFormState().values;
Expand Down

0 comments on commit 1bbe17e

Please sign in to comment.