mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
fix
This commit is contained in:
@@ -126,7 +126,11 @@
|
|||||||
document.getElementById('progress-bar')
|
document.getElementById('progress-bar')
|
||||||
) {
|
) {
|
||||||
loadingProgress.subscribe((value) => {
|
loadingProgress.subscribe((value) => {
|
||||||
document.getElementById('progress-bar').style.width = `${value * 0.24}rem`;
|
const progressBar = document.getElementById('progress-bar');
|
||||||
|
|
||||||
|
if (progressBar) {
|
||||||
|
progressBar.style.width = `${value * 0.24}rem`;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
await loadingProgress.set(100);
|
await loadingProgress.set(100);
|
||||||
|
|||||||
Reference in New Issue
Block a user