cluedin-widget
Version:
This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.
8 lines • 363 B
JavaScript
module.exports = {
extractNotUserFromInsight: function( entity ) {
return ( entity.Entity.EntityType !== '/Infrastructure/User' && entity.Entity.EntityType !== '/Person' );
},
extractUserFromInsight: function( entity ) {
return ( entity.Entity.EntityType === '/Infrastructure/User' || entity.Entity.EntityType === '/Person' );
}
};