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:
parent
a7a8eed01e
commit
aa6219f4b7
3 changed files with 3 additions and 2 deletions
|
|
@ -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)){
|
||||
|
|
|
|||
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue