Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaeb9b0b

Browse files
committed
fix modal reopen issue
1 parent6750980 commitaeb9b0b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎client/packages/lowcoder/src/pages/setting/environments/EnvironmentDetail.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,11 @@ const EnvironmentDetail: React.FC = () => {
6161

6262
setIsUpdating(true);
6363
try{
64-
awaitupdateEnvironmentData(data);
64+
// Close the modal first, before the update completes
6565
handleCloseModal();
66+
67+
// Then update the environment data
68+
awaitupdateEnvironmentData(data);
6669
}catch(error){
6770
console.error('Failed to update environment:',error);
6871
}finally{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp