David Catuhe 5 år sedan
förälder
incheckning
6d37445d8e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      inspector/src/components/actionTabs/lines/checkBoxLineComponent.tsx

+ 1 - 1
inspector/src/components/actionTabs/lines/checkBoxLineComponent.tsx

@@ -34,7 +34,7 @@ export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponen
         if (this.props.isSelected) {
             currentState = nextProps.isSelected!();
         } else {
-            currentState = nextProps.target[nextProps.propertyName!] === true;
+            currentState = nextProps.target[nextProps.propertyName!] == true;
         }
 
         if (currentState !== nextState.isSelected || this._localChange) {