From 2fce35730632a900f398660efb3c0f62904e140c Mon Sep 17 00:00:00 2001 From: Kim Biesbjerg Date: Wed, 18 Sep 2019 14:04:11 +0200 Subject: [PATCH] fix --- src/utils/translation.collection.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/translation.collection.ts b/src/utils/translation.collection.ts index 8bfc71a..c7c9685 100644 --- a/src/utils/translation.collection.ts +++ b/src/utils/translation.collection.ts @@ -57,8 +57,7 @@ export class TranslationCollection { public intersect(collection: TranslationCollection): TranslationCollection { const values: TranslationType = {}; - this.filter(key => collection.has(key)); - this.forEach((key, val) => { + this.filter(key => collection.has(key)).forEach((key, val) => { values[key] = val; });