Skip to content

Commit 4f9c306

Browse files
Add default stimSource type as IClamp
1 parent 6f7c068 commit 4f9c306

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webapp/components/definition/stimulationSources/NetPyNEStimulationSources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default class NetPyNEStimulationSources extends Component {
4242
}
4343

4444
handleNewStimulationSource () {
45-
var defaultStimulationSources = { 'stim_source': { 'type': '' } };
45+
var defaultStimulationSources = { 'stim_source': { 'type': 'IClamp' } };
4646
var key = Object.keys(defaultStimulationSources)[0];
4747
var value = defaultStimulationSources[key];
4848
var model = { ...this.state.value };

0 commit comments

Comments
 (0)