mirror of
https://github.com/open-webui/desktop.git
synced 2026-07-19 22:53:37 -04:00
refac
This commit is contained in:
@@ -58,9 +58,6 @@
|
||||
config = null;
|
||||
await window.electronAPI.resetApp();
|
||||
toast.success("App has been reset successfully.");
|
||||
|
||||
// refresh the page to apply changes
|
||||
window.location.reload();
|
||||
} catch (error) {
|
||||
toast.error("Failed to reset the app");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user