Skip to content
Snippets Groups Projects
Commit 597df177 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

#62 hide button after deadline

parent 7e6f9af8
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ class Profile extends Component { ...@@ -81,7 +81,7 @@ class Profile extends Component {
} }
<Divider horizontal /> <Divider horizontal />
{canEdit ? {canEdit ?
<Form.TextArea <Form.TextArea
rows={10} rows={10}
name='motivationExercise' name='motivationExercise'
...@@ -195,6 +195,7 @@ class Profile extends Component { ...@@ -195,6 +195,7 @@ class Profile extends Component {
checked={signed} checked={signed}
readOnly={!canEdit} readOnly={!canEdit}
/> />
{canEdit ?
<Form.Button <Form.Button
primary primary
style={{ marginBottom: '10em' }} style={{ marginBottom: '10em' }}
...@@ -204,6 +205,7 @@ class Profile extends Component { ...@@ -204,6 +205,7 @@ class Profile extends Component {
> >
Mentés Mentés
</Form.Button> </Form.Button>
: '' }
</Form> </Form>
</Container> </Container>
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment