Browse Source

Small Progress Bar fix

master
Hampus Sjöberg 4 years ago
parent
commit
b4012c81d6
  1. 3
      frontend/components/ProgressBar.tsx

3
frontend/components/ProgressBar.tsx

@ -133,6 +133,9 @@ function ProgressBar() {
if (blocksLeftPercentage.endsWith(".00")) {
blocksLeftPercentage = blocksLeftPercentage.slice(0, -3);
}
if (blocksLeftPercentage.startsWith("-")) {
blocksLeftPercentage = blocksLeftPercentage.slice(1);
}
}
return (

Loading…
Cancel
Save