Skip to content

Commit c9fab1f

Browse files
Merge pull request #1912 from iamfaran/fix/1826-folder
[Fix]: #1826 refresh folder on press enter
2 parents 4ff3470 + f549801 commit c9fab1f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

client/packages/lowcoder/src/pages/ApplicationV2/useCreateFolder.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ export function useCreateFolder(setModify: any, modify: boolean) {
5050
onPressEnter={() => {
5151
form.validateFields().then(() => {
5252
dispatchCreateFolder(
53-
() => modal?.destroy(),
53+
() => {
54+
modal?.destroy();
55+
setTimeout(() => {
56+
setModify(!modify);
57+
}, 200);
58+
},
5459
() => {}
5560
);
5661
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy