mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
parent
990657c72b
commit
0d334d982e
1 changed files with 2 additions and 2 deletions
|
@ -24,11 +24,11 @@ export const CloneStatus = (props: Props) => {
|
|||
const { receivedObjects, totalObjects, indexedObjects } = cloneProgress;
|
||||
|
||||
if (receivedObjects === totalObjects) {
|
||||
progress = `Indexing objects: ${progressRate.toFixed(
|
||||
progress = `Indexing objects: ${(indexedObjects / totalObjects).toFixed(
|
||||
2
|
||||
)}% (${indexedObjects}/${totalObjects})`;
|
||||
} else {
|
||||
progress = `Receiving objects: ${progressRate.toFixed(
|
||||
progress = `Receiving objects: ${(receivedObjects / totalObjects).toFixed(
|
||||
2
|
||||
)}% (${receivedObjects}/${totalObjects})`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue