mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-23 06:00:42 -05:00
fix
This commit is contained in:
1 parent
ae3d8ce0c0
commit
482a41e49b
1 file changed
+5
-1
@@ -126,7 +126,11 @@
|
||||
document.getElementById('progress-bar')
|
||||
) {
|
||||
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);
|
||||
|
||||
Reference in new issue
Block a user