diff --git a/x-pack/plugins/code/public/components/main/clone_status.tsx b/x-pack/plugins/code/public/components/main/clone_status.tsx index 8d16e26859017..3470d131f0b14 100644 --- a/x-pack/plugins/code/public/components/main/clone_status.tsx +++ b/x-pack/plugins/code/public/components/main/clone_status.tsx @@ -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})`; }