mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
refac: do not wait for update check
This commit is contained in:
@@ -206,10 +206,10 @@
|
|||||||
const now = new Date();
|
const now = new Date();
|
||||||
|
|
||||||
if (now - dismissedUpdateToast > 24 * 60 * 60 * 1000) {
|
if (now - dismissedUpdateToast > 24 * 60 * 60 * 1000) {
|
||||||
await checkForVersionUpdates();
|
checkForVersionUpdates();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
await checkForVersionUpdates();
|
checkForVersionUpdates();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await tick();
|
await tick();
|
||||||
|
|||||||
Reference in New Issue
Block a user