projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix updating video tags to empty field
[oweals/peertube.git]
/
client
/
src
/
app
/
shared
/
misc
/
object-length.pipe.ts
1
import { Pipe, PipeTransform } from '@angular/core'
2
3
@Pipe({ name: 'myObjectLength' })
4
export class ObjectLengthPipe implements PipeTransform {
5
transform (value: Object) {
6
return Object.keys(value).length
7
}
8
}