mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
75316: TSlint error fix
This commit is contained in:
@@ -88,7 +88,7 @@ export class RelationshipTypeService extends DataService<RelationshipType> {
|
|||||||
map((types: RelationshipType[]) => {
|
map((types: RelationshipType[]) => {
|
||||||
const match = types.find((type: RelationshipType) => hasValue(type));
|
const match = types.find((type: RelationshipType) => hasValue(type));
|
||||||
if (hasValue(match)) {
|
if (hasValue(match)) {
|
||||||
return match
|
return match;
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user