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