File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
projects/app/src/pageComponents/dataset/detail/Import Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -253,20 +253,22 @@ const DatasetImportContextProvider = ({ children }: { children: React.ReactNode
253
253
< Box flex = { 1 } />
254
254
</ Flex >
255
255
{ /* step */ }
256
- < Box
257
- mt = { 4 }
258
- mb = { 5 }
259
- px = { 3 }
260
- py = { [ 2 , 4 ] }
261
- bg = { 'myGray.50' }
262
- borderWidth = { '1px' }
263
- borderColor = { 'borderColor.low' }
264
- borderRadius = { 'md' }
265
- >
266
- < Box maxW = { [ '100%' , '900px' ] } mx = { 'auto' } >
267
- < MyStep />
256
+ { source !== ImportDataSourceEnum . imageDataset && (
257
+ < Box
258
+ mt = { 4 }
259
+ mb = { 5 }
260
+ px = { 3 }
261
+ py = { [ 2 , 4 ] }
262
+ bg = { 'myGray.50' }
263
+ borderWidth = { '1px' }
264
+ borderColor = { 'borderColor.low' }
265
+ borderRadius = { 'md' }
266
+ >
267
+ < Box maxW = { [ '100%' , '900px' ] } mx = { 'auto' } >
268
+ < MyStep />
269
+ </ Box >
268
270
</ Box >
269
- </ Box >
271
+ ) }
270
272
{ children }
271
273
</ DatasetImportContext . Provider >
272
274
) ;
You can’t perform that action at this time.
0 commit comments