Browse Source

fix percentage

Gitea 3 years ago
parent
commit
ffcb4ee788
1 changed files with 3 additions and 1 deletions
  1. 3 1
      client/src/pages/collections/Collections.tsx

+ 3 - 1
client/src/pages/collections/Collections.tsx

@@ -113,7 +113,9 @@ const Collections = () => {
               />
               />
             </Link>
             </Link>
           ),
           ),
-          statusElement: <Status status={v._status} />,
+          statusElement: (
+            <Status status={v._status} percentage={v._loadedPercentage} />
+          ),
           indexCreatingElement: (
           indexCreatingElement: (
             <StatusIcon
             <StatusIcon
               type={indexStatus?._indexState || ChildrenStatusType.FINISH}
               type={indexStatus?._indexState || ChildrenStatusType.FINISH}