import {Component} from 'react'; import EventsTableRow from 'sentry/components/eventsTable/eventsTableRow'; import {t} from 'sentry/locale'; import {Tag} from 'sentry/types'; import {Event} from 'sentry/types/event'; type Props = { events: Event[]; groupId: string; orgId: string; projectId: string; tagList: Tag[]; }; class EventsTable extends Component { render() { const {events, tagList, orgId, projectId, groupId} = this.props; const hasUser = !!events.find(event => event.user); return ( {hasUser && } {tagList.map(tag => ( ))} {events.map(event => ( ))}
{t('ID')}{t('User')}{tag.name}
); } } export default EventsTable;