UNPKG

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.

16 lines (14 loc) 482 B
import React, { Component } from 'react'; import iso from '../../../iso'; import config from '../../config'; export default class EntityLastChange extends Component { render() { const { entity } = this.props; let changedBy = (entity && entity.data && entity.data.lastChangedBy ) ? entity.data.lastChangedBy.name : 'N/A'; return ( <div className="cluedIn_entity_lastChange"> {changedBy} </div> ); } };