From cd95f011424f935b95811f111da02e7cbabde333 Mon Sep 17 00:00:00 2001 From: csawatzky Date: Mon, 20 Oct 2025 14:15:38 -0600 Subject: [PATCH] getting the drager components that are using I2C to use the expander and not the cable id --- src/component/ComponentSettings.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/component/ComponentSettings.tsx b/src/component/ComponentSettings.tsx index 44aef71..db0e5ad 100644 --- a/src/component/ComponentSettings.tsx +++ b/src/component/ComponentSettings.tsx @@ -518,7 +518,8 @@ export default function ComponentSettings(props: Props) { } 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) }