Skip to content

Commit

Permalink
jméno klienta/skupiny v kartě tučně
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlukas committed Sep 17, 2018
1 parent 51137cb commit 2a4db06
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions frontend/src/pages/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,12 @@ export default class Card extends Component {
{' '}
{"Karta " + (this.isClient() ? "klienta" : "skupiny")}:
{' '}
{this.isClient() ?
<ClientName client={object}/>
:
<GroupName group={object}/>}
<span className="font-weight-bold">
{this.isClient() ?
<ClientName client={object}/>
:
<GroupName group={object}/>}
</span>
<AddButton content="Přidat lekci" onClick={() => this.toggle()}/>
</Fragment>
const CardContent = () =>
Expand Down

0 comments on commit 2a4db06

Please sign in to comment.