Skip to content

Commit d3061ab

Browse files
authored
E2C: Display Pending status for resources (#90935)
1 parent 3ce1a5b commit d3061ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

public/app/features/migrate-to-cloud/onprem/StatusCell.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ export function StatusCell(props: CellProps<MigrateDataResponseItemDto>) {
77
const { status, error } = props.row.original;
88

99
// Keep these here to preserve the translations
10-
// t('migrate-to-cloud.resource-status.not-migrated', 'Not yet uploaded')
1110
// t('migrate-to-cloud.resource-status.migrating', 'Uploading...')
1211

13-
if (status === 'OK') {
12+
if (status === 'PENDING') {
13+
return <Text color="secondary">{t('migrate-to-cloud.resource-status.not-migrated', 'Not yet uploaded')}</Text>;
14+
} else if (status === 'OK') {
1415
return <Text color="success">{t('migrate-to-cloud.resource-status.migrated', 'Uploaded to cloud')}</Text>;
1516
} else if (status === 'ERROR') {
1617
return (

0 commit comments

Comments
 (0)