We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d18072a commit bfed93fCopy full SHA for bfed93f
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