We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6111173 commit 4cb04a0Copy full SHA for 4cb04a0
1 file changed
webapp/components/definition/subcellConnectivity/NetPyNESubcellsConnectivityRule.js
@@ -32,7 +32,7 @@ export default class NetPyNESubCellsConnectivityRule extends React.Component {
32
sectionId: 'General',
33
errorMessage: undefined,
34
errorDetails: undefined,
35
- type: 'uniform',
+ type: props.type,
36
coord: '',
37
};
38
}
@@ -105,7 +105,7 @@ export default class NetPyNESubCellsConnectivityRule extends React.Component {
105
106
107
UNSAFE_componentWillReceiveProps (nextProps) {
108
- this.setState({ currentName: nextProps.name });
+ this.setState({ currentName: nextProps.name, type: nextProps.model.density });
109
110
111
handleDensity (value) {
0 commit comments