Can i filter out the data using query params in Angular? This.rows is an array. I'll only show this.rows that has the query params of "Pending". How will i able filter out this using queryParams. Here's my code below.
// this.rows is an array
this.activeRouter.queryParams
.filter(params => params.q)
.subscribe(params => {
console.log(params);
if(this.rows.status === params.q){
return this.rows;
}
});