Merge branch 'dev_environment' of gitlab.com:brandx/bxt-app into dev_environment
This commit is contained in:
commit
d0f74cbc4e
1 changed files with 2 additions and 1 deletions
|
|
@ -518,7 +518,8 @@ export default function ComponentSettings(props: Props) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const supportsExpansion = () => {
|
const supportsExpansion = () => {
|
||||||
return (formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_GRAIN_CABLE &&
|
return ((formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_GRAIN_CABLE ||
|
||||||
|
formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_DRAGER_GAS_DONGLE) &&
|
||||||
formComponent.settings.addressType === quack.AddressType.ADDRESS_TYPE_I2C)
|
formComponent.settings.addressType === quack.AddressType.ADDRESS_TYPE_I2C)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue