Fixed lint errors and add lint fix script

This commit is contained in:
Giuseppe Digilio
2020-12-04 10:32:46 +01:00
parent 587affd064
commit 20b5721e3c
322 changed files with 759 additions and 752 deletions

View File

@@ -254,7 +254,7 @@ export class SubmissionSectionUploadFileEditComponent implements OnChanges {
metadataModel.options.push({
label: group.name,
value: group.uuid
})
});
});
}
if (metadataModel.type === DYNAMIC_FORM_CONTROL_TYPE_DATEPICKER) {
@@ -263,7 +263,7 @@ export class SubmissionSectionUploadFileEditComponent implements OnChanges {
year: date.getFullYear(),
month: date.getMonth() + 1,
day: date.getDate()
}
};
} else {
metadataModel.value = accessCondition[key];
}
@@ -332,7 +332,7 @@ export class SubmissionSectionUploadFileEditComponent implements OnChanges {
groupOptions.push({
label: group.name,
value: group.uuid
})
});
});
// Due to a bug can't dynamically change the select options, so replace the model with a new one