mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
refac: do not wait for update check
This commit is contained in:
parent
0bd9d59c78
commit
44d768ecf3
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue