mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-29 11:26:05 +00:00
fix(ui): update default status to empty instead queued (#8716)
This commit is contained in:
parent
83003a42da
commit
3b4c5d4e85
@ -81,7 +81,7 @@ export const handleIngestionRetry = (
|
|||||||
($ingestionStatus) => {
|
($ingestionStatus) => {
|
||||||
if (
|
if (
|
||||||
($ingestionStatus.text() === 'Running' ||
|
($ingestionStatus.text() === 'Running' ||
|
||||||
$ingestionStatus.text() === 'Queued') &&
|
$ingestionStatus.text() === 'Queued' || $ingestionStatus.text() === '--') &&
|
||||||
retryCount <= RETRY_TIMES
|
retryCount <= RETRY_TIMES
|
||||||
) {
|
) {
|
||||||
// retry after waiting for 20 seconds
|
// retry after waiting for 20 seconds
|
||||||
@ -906,7 +906,7 @@ export const retryIngestionRun = () => {
|
|||||||
($ingestionStatus) => {
|
($ingestionStatus) => {
|
||||||
if (
|
if (
|
||||||
($ingestionStatus.text() === 'Running' ||
|
($ingestionStatus.text() === 'Running' ||
|
||||||
$ingestionStatus.text() === 'Queued') &&
|
$ingestionStatus.text() === 'Queued' || $ingestionStatus.text() === '--') &&
|
||||||
retryCount <= RETRY_TIMES
|
retryCount <= RETRY_TIMES
|
||||||
) {
|
) {
|
||||||
// retry after waiting for 20 seconds
|
// retry after waiting for 20 seconds
|
||||||
|
@ -135,7 +135,7 @@ export const IngestionRecentRuns: FunctionComponent<Props> = ({
|
|||||||
) : (
|
) : (
|
||||||
status
|
status
|
||||||
);
|
);
|
||||||
}) ?? 'Queued'
|
}) ?? '--'
|
||||||
)}
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user