Don't show hearts on GridReps if user is logged out
This commit is contained in:
parent
c626038f64
commit
92d9797c0d
1 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ const GridRep = (props: Props) => {
|
||||||
<h2 className={titleClass} onClick={navigate}>{ (props.name) ? props.name : t('no_title') }</h2>
|
<h2 className={titleClass} onClick={navigate}>{ (props.name) ? props.name : t('no_title') }</h2>
|
||||||
<div className={raidClass}>{ (props.raid) ? props.raid.name[locale] : t('no_raid') }</div>
|
<div className={raidClass}>{ (props.raid) ? props.raid.name[locale] : t('no_raid') }</div>
|
||||||
</div>
|
</div>
|
||||||
{ (!props.user || (account.user && account.user.id !== props.user.id)) ?
|
{ (account.authorized && (props.user && account.user && account.user.id !== props.user.id)) ?
|
||||||
<Button
|
<Button
|
||||||
active={props.favorited}
|
active={props.favorited}
|
||||||
icon="save"
|
icon="save"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue