From 90436f3b2cee4876facfacfa44d7fc79a3a0fd26 Mon Sep 17 00:00:00 2001 From: Kristof De Langhe Date: Mon, 28 Oct 2019 17:48:08 +0100 Subject: [PATCH] 65717: ObjectValuesPipe pure --- src/app/shared/utils/object-values-pipe.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/shared/utils/object-values-pipe.ts b/src/app/shared/utils/object-values-pipe.ts index 5962aa9380..d1a49f403a 100644 --- a/src/app/shared/utils/object-values-pipe.ts +++ b/src/app/shared/utils/object-values-pipe.ts @@ -1,7 +1,10 @@ import { PipeTransform, Pipe } from '@angular/core'; -import { hasValue, isNotEmpty } from '../empty.util'; +import { isNotEmpty } from '../empty.util'; -@Pipe({name: 'dsObjectValues'}) +@Pipe({ + name: 'dsObjectValues', + pure: true +}) /** * Pipe for parsing all values of an object to an array of values */