Remove console.log
This commit is contained in:
parent
7c6458bbb0
commit
914272d6d7
1 changed files with 1 additions and 3 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue