diff -r e4c2c1919c20 -r 99e342f9fb0c client/src/components/CreateSession.js --- a/client/src/components/CreateSession.js Tue Dec 04 18:56:31 2018 +0100 +++ b/client/src/components/CreateSession.js Wed Dec 05 19:00:08 2018 +0100 @@ -3,6 +3,8 @@ import PropTypes from 'prop-types'; import uuidV1 from 'uuid/v1'; import { withNamespaces } from 'react-i18next'; +import ProtocolSummary from './ProtocolSummary'; +import { extractAnnotationCategories } from '../constants'; class CreateSession extends Component { @@ -69,6 +71,9 @@ render() { const t = this.props.t; + const protocol = this.getGroupProtocol(); + const categories = extractAnnotationCategories(protocol); + const modalStyles = {overlay: {zIndex: 1021}}; return (
{t('create_session.new_session')} @@ -76,12 +81,13 @@ className="Modal__Bootstrap modal-dialog ml-5 mt-5 fixed-top w-100" isOpen={this.state.modalIsOpen} onRequestClose={this.handleModalCloseRequest} + style={modalStyles} >
{ e.preventDefault() } }>
- +
- +
- -
- {/*
{JSON.stringify(this.props.currentSession.protocol, null, 2)}
*/} -
{JSON.stringify(this.getGroupProtocol(), null, 2)}
+ +
+