mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-09 12:47:13 +02:00
Add 'calculating rate' message
This commit is contained in:
@@ -164,7 +164,7 @@ function Main() {
|
|||||||
)?.toFixed(2);
|
)?.toFixed(2);
|
||||||
statusDisplay = (
|
statusDisplay = (
|
||||||
<div className="text-gray-400">
|
<div className="text-gray-400">
|
||||||
In Progress...{" "}
|
In Progress{" "}
|
||||||
{connectorIndexingStatus?.latest_index_attempt
|
{connectorIndexingStatus?.latest_index_attempt
|
||||||
?.num_docs_indexed ? (
|
?.num_docs_indexed ? (
|
||||||
<div className="text-xs mt-0.5">
|
<div className="text-xs mt-0.5">
|
||||||
@@ -176,12 +176,15 @@ function Main() {
|
|||||||
}{" "}
|
}{" "}
|
||||||
docs indexed
|
docs indexed
|
||||||
</div>
|
</div>
|
||||||
{docsPerMinute && (
|
|
||||||
<div>
|
<div>
|
||||||
<i>Speed:</i> ~{docsPerMinute} docs / min
|
<i>Speed:</i>{" "}
|
||||||
</div>
|
{docsPerMinute ? (
|
||||||
|
<>~{docsPerMinute} docs / min</>
|
||||||
|
) : (
|
||||||
|
"calculating rate..."
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user