mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 21:42:58 +00:00
fix
This commit is contained in:
parent
ae3d8ce0c0
commit
482a41e49b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user