File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -635,20 +635,20 @@ export const EndpointList = () => {
635635 { hasListData && (
636636 < >
637637 < EuiText color = "subdued" size = "xs" data-test-subj = "endpointListTableTotal" >
638- < FormattedMessage
639- id = "xpack.securitySolution.endpoint.list.totalCount"
640- defaultMessage = "{totalItemCount, plural, one {# Host} other {# Hosts}}"
641- values = { { totalItemCount } }
642- />
643- </ EuiText >
644- { totalItemCount > MAX_PAGINATED_ITEM && ( pageIndex + 1 ) * pageSize >= MAX_PAGINATED_ITEM && (
645- < EuiCallOut size = "s" color = "warning" >
638+ { totalItemCount > MAX_PAGINATED_ITEM + 1 ? (
646639 < FormattedMessage
647- id = "xpack.securitySolution.endpoint.list.maxItem"
648- defaultMessage = "we are only showing the first 10k. Changeme."
640+ id = "xpack.securitySolution.endpoint.list.totalCount"
641+ defaultMessage = "Showing {limit} of {totalItemCount, plural, one {# Host} other {# Hosts}}"
642+ values = { { totalItemCount, limit : MAX_PAGINATED_ITEM + 1 } }
649643 />
650- </ EuiCallOut >
651- ) }
644+ ) : (
645+ < FormattedMessage
646+ id = "xpack.securitySolution.endpoint.list.totalCount"
647+ defaultMessage = "{totalItemCount, plural, one {# Host} other {# Hosts}}"
648+ values = { { totalItemCount } }
649+ />
650+ ) }
651+ </ EuiText >
652652 < EuiHorizontalRule margin = "xs" />
653653 </ >
654654 ) }
You can’t perform that action at this time.
0 commit comments