client/src/StepFormGroup.js
// get a description label component based on the step name's index in the transformations object
get a description label component based on the step name's index in the transformations object
get a description label component based on the step name ' s index in the transformations object
renderDescription(index) {
        let desc;
        if(index === -1) {
            desc = '';
        }
        else {
            if(this.props.steps[index].description !== '') {
                desc =  <React.Fragment><b>Description: </b> {this.props.steps[index].description}</React.Fragment>;
            }
            else {
                desc = '';
            }
        }
        return (
            <Form.Label>{desc}</Form.Label>
        );
    }
renderDescription ( index ) { let desc ; if ( index === - 1 ) { desc = '' ; } else { if ( this . props . steps [ index ] . description !== '' ) { desc = < React . Fragment > < b > Description:  < / b > { this . props . steps [ index ] . description } < / React . Fragment > ; } else { desc = '' ; } } return ( < Form . Label > { desc } < / Form . Label > ) ; }
get a description label component based on the step name's index in the transformations object
get a description label component based on the step name ' s index in the transformations object