Skip to content

Commit

Permalink
Update group-by.ts (#56)
Browse files Browse the repository at this point in the history
impure pipes could be dangerous to user experience if one doesn't know exactly how they work
  • Loading branch information
tiger-seo authored and danrevah committed Jun 4, 2017
1 parent 72ae43e commit 1ec16ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pipes/array/group-by.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Pipe, PipeTransform } from '@angular/core';
import {extractDeepPropertyByMapKey, isFunction} from '../helpers/helpers';

@Pipe({name: 'groupBy', pure: false})
@Pipe({name: 'groupBy'})
export class GroupByPipe implements PipeTransform {

transform(input: any, discriminator: any = [], delimiter: string = '|'): any {
Expand Down

0 comments on commit 1ec16ce

Please sign in to comment.