mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[streams][lifecycle] format total docs (#214823)](https://github.com/elastic/kibana/pull/214823) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Kevin Lacabane","email":"kevin.lacabane@elastic.co"},"sourceCommit":{"committedDate":"2025-03-18T09:58:25Z","message":"[streams][lifecycle] format total docs (#214823)\n\nTotal docs is now readable\n\n\n","sha":"d8c62dbd38cb6337e7fba803c4c1c1885997df3b","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"[streams][lifecycle] format total docs","number":214823,"url":"https://github.com/elastic/kibana/pull/214823","mergeCommit":{"message":"[streams][lifecycle] format total docs (#214823)\n\nTotal docs is now readable\n\n\n","sha":"d8c62dbd38cb6337e7fba803c4c1c1885997df3b"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214823","number":214823,"mergeCommit":{"message":"[streams][lifecycle] format total docs (#214823)\n\nTotal docs is now readable\n\n\n","sha":"d8c62dbd38cb6337e7fba803c4c1c1885997df3b"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Kevin Lacabane <kevin.lacabane@elastic.co>
This commit is contained in:
parent
924f2019f2
commit
ca298aa875
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@ import {
|
|||
EuiPanel,
|
||||
EuiPopover,
|
||||
EuiText,
|
||||
formatNumber,
|
||||
} from '@elastic/eui';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { LifecycleEditAction } from './modal';
|
||||
|
@ -203,7 +204,7 @@ export function RetentionMetadata({
|
|||
) : isLoadingStats || !stats ? (
|
||||
<EuiLoadingSpinner size="s" />
|
||||
) : (
|
||||
stats.totalDocs
|
||||
formatNumber(stats.totalDocs, '0,0')
|
||||
)
|
||||
}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue