Adding a create button on the second tab

This commit is contained in:
Nikola Bjelo committed 2018-11-07 14:06:44 +01:00
1 parent b890bfc472
commit 847f5bc76e
2 files changed
+11

No files matched your search

@@ -9,6 +9,8 @@ import {
Select,
FormHelperText,
MenuItem,
Grid,
Button,
} from '@material-ui/core';
import { withStyles } from '@material-ui/core/styles';
import styles from '../styles';
@@ -102,6 +104,13 @@ class Technical extends React.Component {
</Query>
<FormHelperText> To create a new plotter, click here </FormHelperText>
</FormControl>
<Grid container justify='center' >
<Grid item>
<Button className={classes.bottomButton} type='submit' variant='contained' color='secondary'>
Create the event
</Button>
</Grid>
</Grid>
</React.Fragment>
);
}
@@ -124,6 +124,8 @@ class Create extends React.Component {
description,
startDatetime: startDatetime.valueOf() / 1000,
finishDatetime: finishDatetime.valueOf() / 1000,
formulaId,
plotterId,
},
},
});