fix
This commit is contained in:
parent
3827789346
commit
2fce357306
@ -57,8 +57,7 @@ export class TranslationCollection {
|
|||||||
|
|
||||||
public intersect(collection: TranslationCollection): TranslationCollection {
|
public intersect(collection: TranslationCollection): TranslationCollection {
|
||||||
const values: TranslationType = {};
|
const values: TranslationType = {};
|
||||||
this.filter(key => collection.has(key));
|
this.filter(key => collection.has(key)).forEach((key, val) => {
|
||||||
this.forEach((key, val) => {
|
|
||||||
values[key] = val;
|
values[key] = val;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user