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

show own bits

parent 40e48b44
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,6 @@ import {
Header,
Table,
Segment,
Icon,
Checkbox,
Popup,
Grid,
Divider,
} from 'semantic-ui-react';
import { connect } from 'react-redux';
......
......@@ -336,7 +336,29 @@ class Homework extends Component {
{noTask ?
customMessage(noTaskHeaderText, noTaskText, marginBottom, false)
:
this.renderHomeworksTable(active, staff)
<div>
{this.renderHomeworksTable(active, staff)}
{!active ?
<Header
as='h3'
content={
<div >
Jelenlegi bitjeid száma:
<Label color='green' size='large'>
{this.props.user.bits} bit
</Label>
</div>
}
style={{
fontWeight: 'normal',
marginTop: '0.5em',
}}
textAlign='right'
/>
: null
}
</div>
}
</Container>
</Segment>
......
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