fix(webui): save settings when editing completes (NAN-323) (#6384)

* fix(webui): save settings when editing completes (NAN-323)

* fix(webui): close settings completion and verification gaps

* refactor(webui): simplify settings edit ownership
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-22 13:39:46 +08:00
1 parent 26e1f41a00
commit c6babb20e8
34 files changed
+1363 -388

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import type { SettingsPayload } from "@/lib/types";
export type SettingsExitGuard = (leave: () => void) => void;
export type SettingsExitGuard = (leave: () => void, options?: { promptRestart?: boolean }) => void;
export type SettingsSectionKey =
| "overview"