|
@@ -8,9 +8,8 @@ import SortLink from 'app/components/gridEditable/sortLink';
|
|
|
import Link from 'app/components/links/link';
|
|
|
import Pagination from 'app/components/pagination';
|
|
|
import Tag from 'app/components/tag';
|
|
|
-import {IconStar, IconUser} from 'app/icons';
|
|
|
+import {IconStar} from 'app/icons';
|
|
|
import {t} from 'app/locale';
|
|
|
-import space from 'app/styles/space';
|
|
|
import {Organization, Project} from 'app/types';
|
|
|
import {trackAnalyticsEvent} from 'app/utils/analytics';
|
|
|
import DiscoverQuery, {TableData, TableDataRow} from 'app/utils/discover/discoverQuery';
|
|
@@ -171,15 +170,6 @@ class Table extends React.Component<Props, State> {
|
|
|
Actions.SHOW_LESS_THAN,
|
|
|
];
|
|
|
|
|
|
- if (field === 'count_unique(user)') {
|
|
|
- return (
|
|
|
- <UniqueUserCell>
|
|
|
- {rendered}
|
|
|
- <StyledUserIcon size="20" />
|
|
|
- </UniqueUserCell>
|
|
|
- );
|
|
|
- }
|
|
|
-
|
|
|
if (field === 'transaction') {
|
|
|
const projectID = getProjectID(dataRow, projects);
|
|
|
const summaryView = eventView.clone();
|
|
@@ -417,11 +407,6 @@ class Table extends React.Component<Props, State> {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-const UniqueUserCell = styled('span')`
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
-`;
|
|
|
-
|
|
|
const UniqueTagCell = styled('div')`
|
|
|
text-align: right;
|
|
|
`;
|
|
@@ -453,9 +438,4 @@ const PoorTag = styled(Tag)`
|
|
|
}
|
|
|
`;
|
|
|
|
|
|
-const StyledUserIcon = styled(IconUser)`
|
|
|
- margin-left: ${space(1)};
|
|
|
- color: ${p => p.theme.gray400};
|
|
|
-`;
|
|
|
-
|
|
|
export default Table;
|