app: Disabled progress percentage display above 100%
Fixes
@@ -201,9 +201,11 @@ export class SourcesTable extends Component {
totals = sizeDisplayName(totalBytes);
if (x.row.original.lastSnapshot) {
const percent = Math.round(totalBytes * 1000.0 / x.row.original.lastSnapshot.stats.totalSize) / 10.0;
+ if (percent <= 100) {
totals += " " + percent + "%";
}
}
+ }
return <>
<Spinner animation="border" variant="primary" size="sm" title={title} />&nbsp;Snapshotting {totals}
