missed the actual adding of the condition logic
This commit is contained in:
parent
c92311bef6
commit
b18b84f83c
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ export default function InteractionSettings(props: Props) {
|
||||||
const addCondition = () => {
|
const addCondition = () => {
|
||||||
let updatedInteraction = Interaction.clone(interaction);
|
let updatedInteraction = Interaction.clone(interaction);
|
||||||
let updatedRawConditionValues = rawConditionValues;
|
let updatedRawConditionValues = rawConditionValues;
|
||||||
if (numConditions < 2 && interaction.settings.source) {
|
if (numConditions < device.maxConditions() && interaction.settings.source) {
|
||||||
let condition = pond.InteractionCondition.create();
|
let condition = pond.InteractionCondition.create();
|
||||||
condition.measurementType = getMeasurements(
|
condition.measurementType = getMeasurements(
|
||||||
interaction.settings.source.type
|
interaction.settings.source.type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue