File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
public/app/features/migrate-to-cloud/onprem Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments