]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/misc/number-formatter.pipe.ts
add theming via css custom properties
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / misc / number-formatter.pipe.ts
index 2491fb1d653c602b1e8866c989f65973af26f095..8a0756a36adfe342e4691400aec705681205c240 100644 (file)
@@ -2,7 +2,7 @@ import { Pipe, PipeTransform } from '@angular/core'
 
 // Thanks: https://github.com/danrevah/ngx-pipes/blob/master/src/pipes/math/bytes.ts
 
-@Pipe({name: 'numberFormatter'})
+@Pipe({ name: 'myNumberFormatter' })
 export class NumberFormatterPipe implements PipeTransform {
   private dictionary: Array<{max: number, type: string}> = [
     { max: 1000, type: '' },