UNPKG

cluedin-widget

Version:

This is the project for creating and managing widgets in CluedIn.

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> ); } };