mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 04:23:04 +00:00
Fixed lint errors and add lint fix script
This commit is contained in:
@@ -90,7 +90,7 @@ export class RowParser {
|
||||
fieldModel.forEach((model) => {
|
||||
parsedResult = model;
|
||||
return;
|
||||
})
|
||||
});
|
||||
} else {
|
||||
setLayout(fieldModel, 'grid', 'host', layoutFieldClass);
|
||||
config.group.push(fieldModel);
|
||||
@@ -108,7 +108,7 @@ export class RowParser {
|
||||
};
|
||||
const groupModel = new DynamicRowGroupModel(config, clsGroup);
|
||||
if (Array.isArray(parsedResult)) {
|
||||
parsedResult.push(groupModel)
|
||||
parsedResult.push(groupModel);
|
||||
} else {
|
||||
parsedResult = groupModel;
|
||||
}
|
||||
|
Reference in New Issue
Block a user