aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/misc/number-formatter.pipe.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-12-04 11:17:08 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-12-04 11:17:08 +0100
commitbe44767854709dbf7da4ba37fe4f16ac4e297f08 (patch)
tree93cc7c992a205f3ea76126b5f3035f3a9440e9a4 /client/src/app/shared/misc/number-formatter.pipe.ts
parentd2cc03aaad62fa6cf1c64622229bcc83f24fccb6 (diff)
downloadPeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.tar.gz
PeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.tar.zst
PeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.zip
Fix lint
Diffstat (limited to 'client/src/app/shared/misc/number-formatter.pipe.ts')
-rw-r--r--client/src/app/shared/misc/number-formatter.pipe.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/misc/number-formatter.pipe.ts b/client/src/app/shared/misc/number-formatter.pipe.ts
index 2491fb1d6..8a0756a36 100644
--- a/client/src/app/shared/misc/number-formatter.pipe.ts
+++ b/client/src/app/shared/misc/number-formatter.pipe.ts
@@ -2,7 +2,7 @@ import { Pipe, PipeTransform } from '@angular/core'
2 2
3// Thanks: https://github.com/danrevah/ngx-pipes/blob/master/src/pipes/math/bytes.ts 3// Thanks: https://github.com/danrevah/ngx-pipes/blob/master/src/pipes/math/bytes.ts
4 4
5@Pipe({name: 'numberFormatter'}) 5@Pipe({ name: 'myNumberFormatter' })
6export class NumberFormatterPipe implements PipeTransform { 6export class NumberFormatterPipe implements PipeTransform {
7 private dictionary: Array<{max: number, type: string}> = [ 7 private dictionary: Array<{max: number, type: string}> = [
8 { max: 1000, type: '' }, 8 { max: 1000, type: '' },