latest fixes for search page

This commit is contained in:
lotte
2018-07-19 13:44:38 +02:00
parent 6deac6b021
commit cfc448332d
11 changed files with 72 additions and 62 deletions

View File

@@ -0,0 +1,10 @@
import { PipeTransform, Pipe } from '@angular/core';
@Pipe({name: 'dsObjectKeys'})
export class ObjectKeysPipe implements PipeTransform {
transform(value, args:string[]): any {
const keys = [];
Object.keys(value).forEach((k) => keys.push(k));
return keys;
}
}