fix
This commit is contained in:
parent
3827789346
commit
2fce357306
@ -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;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user