Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
};
}
queryOptions = queryOptionsReducer(queryOptions, {
type: 'SET_QUERY_OPTIONS',
component: component.componentId,
options: { ...mainQueryOptions },
});
}
}
}
// [3] set dependency tree
if (component.react || isInternalComponentPresent || isResultComponent) {
let { react } = component;
if (isInternalComponentPresent || isResultComponent) {
react = pushToAndClause(react, internalComponent);
}
dependencyTree = dependencyTreeReducer(dependencyTree, {
type: 'WATCH_COMPONENT',
component: component.componentId,
react,
});
}
// [4] set query list
if (isResultComponent) {
const { query } = getQuery(component, null, componentType);
queryList = queryReducer(queryList, {
type: 'SET_QUERY',
component: internalComponent,
query,
this.setReact = function (props) {
var react = props.react;
if (react) {
var newReact = pushToAndClause(react, _this4.internalComponent);
props.watchComponent(props.componentId, newReact);
} else {
props.watchComponent(props.componentId, { and: _this4.internalComponent });
}
};
this.setReact = function (props) {
var react = props.react;
if (react) {
var newReact = pushToAndClause(react, _this3.internalComponent);
props.watchComponent(props.componentId, newReact);
} else {
props.watchComponent(props.componentId, { and: _this3.internalComponent });
}
};
setReact = (props) => {
const { react } = props;
if (react) {
const newReact = pushToAndClause(react, this.internalComponent);
props.watchComponent(props.componentId, newReact);
} else {
props.watchComponent(props.componentId, { and: this.internalComponent });
}
};
setReact = (props) => {
const { react } = props;
if (react) {
const newReact = pushToAndClause(react, this.internalComponent);
props.watchComponent(props.componentId, newReact);
} else {
props.watchComponent(props.componentId, { and: this.internalComponent });
}
};
setReact = (props) => {
const { react } = props;
if (react) {
const newReact = pushToAndClause(react, this.internalComponent);
props.watchComponent(props.componentId, newReact);
} else {
props.watchComponent(props.componentId, { and: this.internalComponent });
}
};
setReact(props) {
const { react } = this.props;
if (react) {
const newReact = pushToAndClause(react, this.internalComponent);
props.watchComponent(props.componentId, newReact);
} else {
props.watchComponent(props.componentId, {
and: this.internalComponent,
});
}
}
setReact = (props) => {
const { react } = props;
if (react) {
const newReact = pushToAndClause(react, this.internalComponent);
props.watchComponent(props.componentId, newReact);
} else {
props.watchComponent(props.componentId, {
and: this.internalComponent,
});
}
};
setReact(props) {
const { react } = props;
if (react) {
const newReact = pushToAndClause(react, this.internalComponent);
props.watchComponent(props.componentId, newReact);
} else {
props.watchComponent(props.componentId, {
and: this.internalComponent,
});
}
}
setReact = (props) => {
const { react } = props;
if (react) {
const newReact = pushToAndClause(react, this.internalComponent);
props.watchComponent(props.componentId, newReact);
} else {
props.watchComponent(props.componentId, { and: this.internalComponent });
}
};