"src/nni_manager/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "382e276151af8d4eba03d77e30e43bc251ea4b90"
Commit 482a41e4 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent ae3d8ce0
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment