Skip to content

Commit

Permalink
Show nickname
Browse files Browse the repository at this point in the history
  • Loading branch information
l0drex committed Aug 15, 2022
1 parent 599cd76 commit 0712ea0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/InfoPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class InfoPanel extends Component<Props, null> {
<SearchField onRefocus={this.props.onRefocus} person={person}/>
{person.getMarriedName() && <h2 className="birth-name">{person.getBirthName()}</h2>}
{person.getAlsoKnownAs() && <h2 className="alsoKnownAs">{person.getAlsoKnownAs()}</h2>}
{person.getNickname() && <h2 className="nickname">{person.getNickname()}</h2>}

<ul id="factView">
{person.getFacts().sort((a, b) => {
Expand Down

0 comments on commit 0712ea0

Please sign in to comment.