hotfix for when adding alerts from the bin page the conditions in the interaction were being showed in the converted value

This commit is contained in:
csawatzky 2026-04-27 09:12:14 -06:00
parent a7a8eed01e
commit aa6219f4b7
3 changed files with 3 additions and 2 deletions

View file

@ -71,6 +71,7 @@ export default function DeviceScannedComponents(props: Props){
let valid: quack.AddressData[] = []
//filter the address data
let addr = scannedI2C?.settings?.foundAddresses
console.log(addr)
if(addr){
addr.forEach(addrData => {
if(!i2cBlacklistAddresses.includes(addrData.address)){

View file

@ -262,7 +262,7 @@ export default function NewObjectInteraction(props: Props){
const conditionGroup = (condition: pond.InteractionCondition, index: number) => {
let measurementType = condition.measurementType;
let describer = describeMeasurement(measurementType, newAlertComponentType);
let describer = describeMeasurement(measurementType, newAlertComponentType, undefined, undefined, user);
let isBoolean = condition.measurementType === Measurement.boolean;
return (
<React.Fragment key={index}>