Skip to content

Commit

Permalink
Chain node def sampling disable switch active (#2029)
Browse files Browse the repository at this point in the history
* filter no active

* disable switch
  • Loading branch information
ramirobg94 authored Dec 21, 2021
1 parent 847c739 commit 85099ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const AnalysisNodeDef = ({ nodeDefUuid }) => {
<div>
<InputSwitch
checked={!nodeDefDeleted && NodeDef.getActive(nodeDef)}
disabled={nodeDefDeleted}
disabled={nodeDefDeleted || NodeDef.isSampling(nodeDef)}
onChange={handleSetActive}
/>
</div>
Expand Down

0 comments on commit 85099ca

Please sign in to comment.