File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/buckets/components/createBucketForm Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 11// Libraries
22import React , { FC , useContext } from 'react'
3+ import { useSelector } from 'react-redux'
34
45// Components
56import { Overlay } from '@influxdata/clockface'
@@ -11,9 +12,15 @@ import {OverlayContext} from 'src/overlays/components/OverlayController'
1112// Constants
1213import { getBucketOverlayWidth } from 'src/buckets/constants'
1314
15+ // Selectors
16+ import { isOrgIOx } from 'src/organizations/selectors'
17+
1418const CreateBucketOverlay : FC = ( ) => {
1519 const { onClose, params} = useContext ( OverlayContext )
16- const useSimplifiedBucketForm = params ?. useSimplifiedBucketForm
20+ const isIOx = useSelector ( isOrgIOx )
21+
22+ // IOx currently doesn't have the capability to handle explicit schemas
23+ const useSimplifiedBucketForm = isIOx ? true : params ?. useSimplifiedBucketForm
1724 const callbackAfterBucketCreation = params ?. callbackAfterBucketCreation
1825
1926 return (
You can’t perform that action at this time.
0 commit comments