75316: TSlint error fix

This commit is contained in:
Kristof De Langhe
2021-01-27 11:24:40 +01:00
parent 28ffe18b07
commit d69bde1327

View File

@@ -88,7 +88,7 @@ export class RelationshipTypeService extends DataService<RelationshipType> {
map((types: RelationshipType[]) => {
const match = types.find((type: RelationshipType) => hasValue(type));
if (hasValue(match)) {
return match
return match;
} else {
return null;
}