Fix build
This commit is contained in:
parent
bec10c91ef
commit
8661500b17
1 changed files with 1 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ export class UiControl<I: UIControl> extends UiItem<I> {
|
||||||
|
|
||||||
isEnabled() {
|
isEnabled() {
|
||||||
if (Object.keys(this.props.item).includes("enableCondition") &&
|
if (Object.keys(this.props.item).includes("enableCondition") &&
|
||||||
|
// $FlowFixMe
|
||||||
typeof this.props.item.enableCondition == "function") {
|
typeof this.props.item.enableCondition == "function") {
|
||||||
const enableCondition = this.props.item.enableCondition;
|
const enableCondition = this.props.item.enableCondition;
|
||||||
const value = this.getValue();
|
const value = this.getValue();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue