function renderInvestigation()

in src/app/build-status.js [84:94]


function renderInvestigation(buildType) {
  const investigation = buildType.investigations.investigation[0];
  const investigationTaken = investigation && investigation.state === 'TAKEN';
  return investigationTaken && (
    <Tooltip title={renderInvestigationTooltip(investigation)}>
      <div className={styles.investigation} data-test="investigation">
        {i18n('Is being investigated by: {{ user }}', {user: getName(investigation.assignee)})}
      </div>
    </Tooltip>
  );
}