David Catuhe преди 5 години
родител
ревизия
6d37445d8e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) {