We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee103e6 commit 54bf1a5Copy full SHA for 54bf1a5
web/apps/labelstudio/src/pages/Home/HomePage.tsx
@@ -184,8 +184,8 @@ function ProjectSimpleCard({
184
}: {
185
project: APIProject;
186
}) {
187
- const finished = project.queue_done ?? 0;
188
- const total = project.queue_total ?? 0;
+ const finished = project.finished_task_number ?? 0;
+ const total = project.task_number ?? 0;
189
const progress = (total > 0 ? finished / total : 0) * 100;
190
const white = "#FFFFFF";
191
const color = project.color && project.color !== white ? project.color : "#E1DED5";
0 commit comments