Skip to content

Commit ca96f6e

Browse files
committed
fix: do not override with empty value on import
1 parent 584c86c commit ca96f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/ngxe/src/app/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export class Project {
119119
}
120120
for (const key of Object.keys(importTranslation.translations)) {
121121
const importValue = importTranslation.translations[key];
122-
if (this.data.input.translations[key]) {
122+
if (importValue && this.data.input.translations[key]) {
123123
translation.translations[key] = importValue;
124124
}
125125
}

0 commit comments

Comments
 (0)