Fixed: Don't use "Ended" for people

Fixes #798
This commit is contained in:
Qstick 2019-05-09 19:46:38 -04:00
parent b2d87cccb2
commit 4a8d01f33e
5 changed files with 16 additions and 3 deletions

View file

@ -82,6 +82,8 @@ class AddNewArtistSearchResult extends Component {
} = this.state;
const linkProps = isExistingArtist ? { to: `/artist/${foreignArtistId}` } : { onPress: this.onPress };
const endedString = artistType === 'Person' ? 'Deceased' : 'Ended';
const height = calculateHeight(230, isSmallScreen);
@ -153,7 +155,7 @@ class AddNewArtistSearchResult extends Component {
kind={kinds.DANGER}
size={sizes.LARGE}
>
Ended
{endedString}
</Label> :
null
}