From 914272d6d7439456939cf5fa8ffbd2a4b14dab40 Mon Sep 17 00:00:00 2001 From: Roger Far Date: Sat, 16 May 2020 20:19:53 -0600 Subject: [PATCH] Remove console.log --- client/src/app/torrent-status.pipe.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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');