File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 5252 "cy" : " CYPRESS_dexUrl=https://$INGRESS_HOST:$PORT_HTTPS CYPRESS_baseUrl=http://localhost:9999 cypress open" ,
5353 "cy:dev" : " source ../monitor-ci/.env && CYPRESS_dexUrl=CLOUD CYPRESS_baseUrl=https://$INGRESS_HOST:$PORT_HTTPS cypress open --config testFiles='{cloud,shared}/**/*.*'" ,
5454 "cy:dev-oss" : " source ../monitor-ci/.env && CYPRESS_dexUrl=OSS CYPRESS_baseUrl=https://$INGRESS_HOST:$PORT_HTTPS cypress open --config testFiles='{oss,shared}/**/*.*'" ,
55- "generate" : " export SHA=fe5b50d055054530257b42ad7600eb8b4d247332 && export REMOTE=https://raw.githubusercontent.com/influxdata/openapi/${SHA}/ && yarn generate-meta" ,
55+ "generate" : " export SHA=b18f46ff9dbc89193e2eaecc91248597a8ae4c9d && export REMOTE=https://raw.githubusercontent.com/influxdata/openapi/${SHA}/ && yarn generate-meta" ,
5656 "generate-local" : " export REMOTE=../openapi/ && yarn generate-meta" ,
5757 "generate-local-cloud" : " export REMOTE=../openapi/ && yarn generate-meta-cloud" ,
5858 "generate-meta" : " if [ -z \" ${CLOUD_URL}\" ]; then yarn generate-meta-oss; else yarn generate-meta-cloud; fi" ,
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ const OrgOverlay: FC = () => {
5757 const history = useHistory ( )
5858 const canReactivateOrg =
5959 hasWritePermissions && organization ?. state === 'suspended'
60+ const isIOx =
61+ organization ?. storageType &&
62+ organization . storageType . toLowerCase ( ) === 'iox'
63+ const canSeeCardinalityLimits = ! isIOx
6064
6165 useEffect ( ( ) => {
6266 handleGetLimits ( orgID )
@@ -176,15 +180,17 @@ const OrgOverlay: FC = () => {
176180 onChangeLimits = { setLimits }
177181 />
178182 </ Grid . Column >
179- < Grid . Column widthMD = { Columns . Four } >
180- < Form . Label label = "Series Cardinality" />
181- < LimitsField
182- type = { InputType . Number }
183- name = "rate.cardinality"
184- limits = { limits }
185- onChangeLimits = { setLimits }
186- />
187- </ Grid . Column >
183+ { canSeeCardinalityLimits && (
184+ < Grid . Column widthMD = { Columns . Four } >
185+ < Form . Label label = "Series Cardinality" />
186+ < LimitsField
187+ type = { InputType . Number }
188+ name = "rate.cardinality"
189+ limits = { limits }
190+ onChangeLimits = { setLimits }
191+ />
192+ </ Grid . Column >
193+ ) }
188194 </ Grid . Row >
189195 < Grid . Row >
190196 < Grid . Column widthMD = { Columns . Four } >
You can’t perform that action at this time.
0 commit comments