mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-04-25 05:16:18 +02:00
fix: don't show self-hosted login after logging out
This commit is contained in:
@@ -193,6 +193,8 @@ export function SyncConfigDialog({ isOpen, onClose }: SyncConfigDialogProps) {
|
||||
try {
|
||||
await logout();
|
||||
showSuccessToast(t("sync.cloud.logoutSuccess"));
|
||||
setServerUrl("");
|
||||
setToken("");
|
||||
// Restart sync service (will fall back to self-hosted or stop)
|
||||
try {
|
||||
await invoke("restart_sync_service");
|
||||
|
||||
Reference in New Issue
Block a user