[Library | develop]: [Bug fix] searchDataproviders.service.ts: Added check if "datasourcetype" field exists in record.
This commit is contained in:
parent
35d287511b
commit
7709352f68
|
@ -135,7 +135,7 @@ export class SearchDataprovidersService {
|
|||
// result.description = result.description.substring(0, this.sizeOfDescription) + "...";
|
||||
// }
|
||||
|
||||
let typeid: string = resData['datasourcetype'].classid;
|
||||
let typeid: string = resData['datasourcetype'] && resData['datasourcetype'].classid;
|
||||
if(typeid != "entityregistry" && typeid != "entityregistry::projects" && typeid != "entityregistry::repositories") {
|
||||
|
||||
if(resData.hasOwnProperty('accessinfopackage')) {
|
||||
|
|
Loading…
Reference in New Issue