Skip to content

Commit

Permalink
Merge pull request #1272 from complexdatacollective/fix/null-attribut…
Browse files Browse the repository at this point in the history
…e-col

Fix/Null column added to network
  • Loading branch information
jthrilly authored Aug 13, 2024
2 parents d18072a + bfed93f commit 88b03db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/containers/CategoricalList/CategoricalListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,8 @@ const CategoricalListItem = (props) => {
{},
{
[variable]: value,
// because category can now be promptVariable or
// otherVariable we need to reset the alternate.
[resetVariable]: null,
// reset is used to clear the variable when a node is moved to a different bin
...(!!resetVariable && { [resetVariable]: null }),
},
'drop',
);
Expand Down

0 comments on commit 88b03db

Please sign in to comment.