Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
482a41e4
You need to sign in or sign up before continuing.
Commit
482a41e4
authored
Jun 12, 2024
by
Timothy J. Baek
Browse files
fix
parent
ae3d8ce0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/routes/+layout.svelte
src/routes/+layout.svelte
+5
-1
No files found.
src/routes/+layout.svelte
View file @
482a41e4
...
@@ -126,7 +126,11 @@
...
@@ -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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment