fixed the function definition since it was preventing cloning of components for the support page

This commit is contained in:
csawatzky 2025-08-19 11:00:26 -06:00
parent cf0d493f40
commit b3245ad1bc

View file

@ -114,7 +114,7 @@ export class Component {
return 0; return 0;
} }
public addressDescription = (deviceProduct?: pond.DeviceProduct) => { public addressDescription(deviceProduct?: pond.DeviceProduct): string {
if ( if (
this.settings.addressType === quack.AddressType.ADDRESS_TYPE_CONFIGURABLE_PIN_ARRAY || this.settings.addressType === quack.AddressType.ADDRESS_TYPE_CONFIGURABLE_PIN_ARRAY ||
(this.settings.addressType >= quack.AddressType.ADDRESS_TYPE_PIN_OFFSET1 && (this.settings.addressType >= quack.AddressType.ADDRESS_TYPE_PIN_OFFSET1 &&