Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6750980 commit aeb9b0bCopy full SHA for aeb9b0b
‎client/packages/lowcoder/src/pages/setting/environments/EnvironmentDetail.tsx
@@ -61,8 +61,11 @@ const EnvironmentDetail: React.FC = () => {
61
62
setIsUpdating(true);
63
try {
64
- await updateEnvironmentData(data);
+ // Close the modal first, before the update completes
65
handleCloseModal();
66
+
67
+ // Then update the environment data
68
+ await updateEnvironmentData(data);
69
} catch (error) {
70
console.error('Failed to update environment:', error);
71
} finally {
0 commit comments