Skip to content

Commit

Permalink
fixing cell type rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelpiano committed Jul 15, 2024
1 parent c5f884a commit 77d4598
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webapp/components/definition/cellRules/NetPyNECellRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class NetPyNECellRule extends React.Component {
// Rename the population in Python
Utils.renameKey('netParams.cellParams', storedValue, newValue, (response, newValue) => {
this.renaming = false;
// TODO: this logic below needs a cleanup across components, and also, why this is not handled in the python controlled capabilities
// if the logic we have here is mostly repeated across multiple components?
this.props.updateCards();
});
this.renaming = true;
});
Expand Down

0 comments on commit 77d4598

Please sign in to comment.