We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d18072a + bfed93f commit 88b03dbCopy full SHA for 88b03db
1 file changed
src/containers/CategoricalList/CategoricalListItem.js
@@ -81,9 +81,8 @@ const CategoricalListItem = (props) => {
81
{},
82
{
83
[variable]: value,
84
- // because category can now be promptVariable or
85
- // otherVariable we need to reset the alternate.
86
- [resetVariable]: null,
+ // reset is used to clear the variable when a node is moved to a different bin
+ ...(!!resetVariable && { [resetVariable]: null }),
87
},
88
'drop',
89
);
0 commit comments