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