diff --git a/client/src/app/torrent-status.pipe.ts b/client/src/app/torrent-status.pipe.ts index 802a691..675ed94 100644 --- a/client/src/app/torrent-status.pipe.ts +++ b/client/src/app/torrent-status.pipe.ts @@ -1,7 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core'; -import { Torrent, TorrentStatus } from './models/torrent.model'; import { FileSizePipe } from 'ngx-filesize'; import { DownloadStatus } from './models/download.model'; +import { Torrent, TorrentStatus } from './models/torrent.model'; @Pipe({ name: 'status', @@ -38,8 +38,6 @@ export class TorrentStatusPipe implements PipeTransform { allSpeeds = downloading.sum((m) => m.speed) / downloading.length; } - console.log(allBytesDownloaded, allBytesSize, progress, allSpeeds); - let speed: string | string[] = '0'; if (allSpeeds > 0) { speed = this.pipe.transform(allSpeeds, 'filesize');