add parameters

This commit is contained in:
Peter Maquiran
2023-08-20 00:26:24 +01:00
parent 8d35abbdd0
commit 6d8e0123b7
18 changed files with 193 additions and 77 deletions
+3 -1
View File
@@ -7,13 +7,15 @@ export class FilterPipe implements PipeTransform {
transform(array: any[], text:string, column:string): any {
console.log(array, text, column);
if(text === ''){
return array;
}
text = text.toLowerCase();
if(Array.isArray(array)) {
if(!Array.isArray(array)) {
array = []
}