Skip to content

Commit

Permalink
fix download ETA dispay
Browse files Browse the repository at this point in the history
  • Loading branch information
alexta69 committed Oct 19, 2023
1 parent cace4ba commit fb6b4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/downloads.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class EtaPipe implements PipeTransform {
}
const hours = Math.floor(value/3600)
const minutes = value % 3600
return `${hours}h ${Math.floor(minutes/60)}m ${minutes%60}s`;
return `${hours}h ${Math.floor(minutes/60)}m ${Math.floor(minutes%60)}s`;
}
}

Expand Down

0 comments on commit fb6b4a1

Please sign in to comment.