fix(ui): update default status to empty instead queued (#8716)

This commit is contained in:
Chirag Madlani 2022-11-14 21:30:16 +05:30 committed by GitHub
parent 83003a42da
commit 3b4c5d4e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 40 deletions

View File

@ -81,7 +81,7 @@ export const handleIngestionRetry = (
($ingestionStatus) => {
if (
($ingestionStatus.text() === 'Running' ||
$ingestionStatus.text() === 'Queued') &&
$ingestionStatus.text() === 'Queued' || $ingestionStatus.text() === '--') &&
retryCount <= RETRY_TIMES
) {
// retry after waiting for 20 seconds
@ -906,7 +906,7 @@ export const retryIngestionRun = () => {
($ingestionStatus) => {
if (
($ingestionStatus.text() === 'Running' ||
$ingestionStatus.text() === 'Queued') &&
$ingestionStatus.text() === 'Queued' || $ingestionStatus.text() === '--') &&
retryCount <= RETRY_TIMES
) {
// retry after waiting for 20 seconds

View File

@ -135,7 +135,7 @@ export const IngestionRecentRuns: FunctionComponent<Props> = ({
) : (
status
);
}) ?? 'Queued'
}) ?? '--'
)}
</Space>
);