var React = require('react'); import {filter, take, map} from 'lodash'; var defaultNumberOfElements = 3; var AuditEntry = require('../audit/entry'), ResourceLink = require('./resource_link'), Time = require('./time'), Refresh = require('../refresh/refresh'); const getAuditEntry = e => ; var FoldableAuditSection = React.createClass({ displayName: 'FoldableAuditSection', statics: { updates(audit, isLoading) { var filterFn = function(e) { return ( e.action === 'check' && e.privilege === 'update' && !(e.hasOwnProperty('error') || e.allowed === false) ); }; var getItem = function(e) { var user = [ (