mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
fix: close dialog after save
This commit is contained in:
parent
4c53e6e89d
commit
a436ef2126
@ -71,6 +71,7 @@ const FileEditor = (props: Props) => {
|
||||
try {
|
||||
await saveProfileFile(uid, value);
|
||||
onChange?.();
|
||||
onClose();
|
||||
} catch (err: any) {
|
||||
Notice.error(err.message || err.toString());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user