[Splash > UI] Add current/total to text
This commit is contained in:
parent
3509654ea9
commit
5bf4a8a0bd
|
@ -71,6 +71,7 @@
|
||||||
console.log('onStateUpdate', progress);
|
console.log('onStateUpdate', progress);
|
||||||
|
|
||||||
text.textContent = status.replaceAll('-', ' ');
|
text.textContent = status.replaceAll('-', ' ');
|
||||||
|
if (current) text.textContent += ` (${current}/${total})`;
|
||||||
|
|
||||||
if (progress) {
|
if (progress) {
|
||||||
barContainer.style.display = 'block';
|
barContainer.style.display = 'block';
|
||||||
|
|
Loading…
Reference in New Issue