We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3741d3e commit 52e9fa7Copy full SHA for 52e9fa7
src/angular-app/languageforge/lexicon/editor/editor.component.ts
@@ -1157,6 +1157,9 @@ export class LexiconEditorController implements angular.IController {
1157
}
1158
1159
private prepCustomFieldsForUpdate(data: any): any {
1160
+ if (Array.isArray(data)) {
1161
+ return data.map(item => this.prepCustomFieldsForUpdate(item));
1162
+ }
1163
data.customFields = {};
1164
for (const fieldName in data) {
1165
if (data.hasOwnProperty(fieldName)) {
0 commit comments