@@ -17,8 +17,6 @@ import { ResourceLink } from '@openshift-console/dynamic-plugin-sdk';
17
17
import Status from '@openshift-console/dynamic-plugin-sdk/lib/app/components/status/Status' ;
18
18
import {
19
19
Button ,
20
- Flex ,
21
- FlexItem ,
22
20
PageSection ,
23
21
ProgressStep ,
24
22
ProgressStepper ,
@@ -107,9 +105,9 @@ export const MigrationVirtualMachinesRowExtended: React.FC<RowProps<VMData>> = (
107
105
< Thead >
108
106
< Tr >
109
107
< Th width = { 20 } > { t ( 'Pod' ) } </ Th >
110
- < Th width = { 10 } > { t ( 'Status' ) } </ Th >
111
- < Th width = { 10 } > { t ( 'Pod logs' ) } </ Th >
112
- < Th width = { 10 } > { t ( 'Created at' ) } </ Th >
108
+ < Th > { t ( 'Status' ) } </ Th >
109
+ < Th > { t ( 'Pod logs' ) } </ Th >
110
+ < Th > { t ( 'Created at' ) } </ Th >
113
111
</ Tr >
114
112
</ Thead >
115
113
< Tbody >
@@ -146,24 +144,21 @@ export const MigrationVirtualMachinesRowExtended: React.FC<RowProps<VMData>> = (
146
144
< Thead >
147
145
< Tr >
148
146
< Th width = { 20 } > { t ( 'Name' ) } </ Th >
147
+ < Th > { t ( 'Status' ) } </ Th >
149
148
</ Tr >
150
149
</ Thead >
151
150
< Tbody >
152
151
{ ( jobs || [ ] ) . map ( ( job ) => (
153
152
< Tr key = { job . metadata . uid } >
154
153
< Td >
155
- < Flex >
156
- < FlexItem >
157
- < ResourceLink
158
- groupVersionKind = { { group : 'batch' , version : 'v1' , kind : 'Job' } }
159
- name = { job ?. metadata ?. name }
160
- namespace = { job ?. metadata ?. namespace }
161
- />
162
- </ FlexItem >
163
- < FlexItem >
164
- < Status status = { getJobPhase ( job ) } > </ Status >
165
- </ FlexItem >
166
- </ Flex >
154
+ < ResourceLink
155
+ groupVersionKind = { { group : 'batch' , version : 'v1' , kind : 'Job' } }
156
+ name = { job ?. metadata ?. name }
157
+ namespace = { job ?. metadata ?. namespace }
158
+ />
159
+ </ Td >
160
+ < Td >
161
+ < Status status = { getJobPhase ( job ) } > </ Status >
167
162
</ Td >
168
163
</ Tr >
169
164
) ) }
@@ -182,24 +177,21 @@ export const MigrationVirtualMachinesRowExtended: React.FC<RowProps<VMData>> = (
182
177
< Thead >
183
178
< Tr >
184
179
< Th width = { 20 } > { t ( 'Name' ) } </ Th >
180
+ < Th > { t ( 'Status' ) } </ Th >
185
181
</ Tr >
186
182
</ Thead >
187
183
< Tbody >
188
184
{ ( pvcs || [ ] ) . map ( ( pvc ) => (
189
185
< Tr key = { pvc . metadata . uid } >
190
186
< Td >
191
- < Flex >
192
- < FlexItem >
193
- < ResourceLink
194
- groupVersionKind = { { version : 'v1' , kind : 'PersistentVolumeClaim' } }
195
- name = { pvc ?. metadata ?. name }
196
- namespace = { pvc ?. metadata ?. namespace }
197
- />
198
- </ FlexItem >
199
- < FlexItem >
200
- < Status status = { pvc . status . phase } > </ Status >
201
- </ FlexItem >
202
- </ Flex >
187
+ < ResourceLink
188
+ groupVersionKind = { { version : 'v1' , kind : 'PersistentVolumeClaim' } }
189
+ name = { pvc ?. metadata ?. name }
190
+ namespace = { pvc ?. metadata ?. namespace }
191
+ />
192
+ </ Td >
193
+ < Td >
194
+ < Status status = { pvc . status . phase } > </ Status >
203
195
</ Td >
204
196
</ Tr >
205
197
) ) }
@@ -217,10 +209,10 @@ export const MigrationVirtualMachinesRowExtended: React.FC<RowProps<VMData>> = (
217
209
< TableComposable aria-label = "Expandable table" variant = "compact" >
218
210
< Thead >
219
211
< Tr >
220
- < Th width = { 10 } > { t ( 'Type' ) } </ Th >
221
- < Th width = { 10 } > { t ( 'Status' ) } </ Th >
222
- < Th width = { 20 } > { t ( 'Updated' ) } </ Th >
223
- < Th width = { 10 } > { t ( 'Reason' ) } </ Th >
212
+ < Th width = { 20 } > { t ( 'Type' ) } </ Th >
213
+ < Th > { t ( 'Status' ) } </ Th >
214
+ < Th > { t ( 'Updated' ) } </ Th >
215
+ < Th > { t ( 'Reason' ) } </ Th >
224
216
< Th > { t ( 'Message' ) } </ Th >
225
217
</ Tr >
226
218
</ Thead >
@@ -248,7 +240,7 @@ export const MigrationVirtualMachinesRowExtended: React.FC<RowProps<VMData>> = (
248
240
< TableComposable variant = "compact" >
249
241
< Thead >
250
242
< Tr >
251
- < Th > { t ( 'Name' ) } </ Th >
243
+ < Th width = { 20 } > { t ( 'Name' ) } </ Th >
252
244
< Th > { t ( 'Description' ) } </ Th >
253
245
< Th > { t ( 'Tasks' ) } </ Th >
254
246
< Th > { t ( 'Started at' ) } </ Th >
0 commit comments