fix: module names had spaces instead of hyphen (#1073)

This commit is contained in:
Bhavay Anand
2019-05-25 21:12:47 +05:30
committed by Jeffrey Warren
parent 6f4cf80648
commit 461f3f905a

View File

@@ -44,7 +44,7 @@ function DefaultHtmlSequencerUi(_sequencer, options) {
if ($(addStepSel + ' select').val() == 'none') return;
var newStepName;
if(typeof arguments[0] !== 'string')
newStepName = $(addStepSel + ' select option').html().toLowerCase();
newStepName = $(addStepSel + ' select option').html().toLowerCase().split(' ').join('-');
else newStepName = arguments[0];