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
|
|
@ -109,7 +109,7 @@ const GridRep = (props: Props) => {
|
|||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
|
||||
const detailsWithUsername = (
|
||||
<div className="Details">
|
||||
<div className="top">
|
||||
|
|
@ -117,7 +117,7 @@ const GridRep = (props: Props) => {
|
|||
<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>
|
||||
{ (!props.user || (account.user && account.user.id !== props.user.id)) ?
|
||||
{ (account.authorized && (props.user && account.user && account.user.id !== props.user.id)) ?
|
||||
<Button
|
||||
active={props.favorited}
|
||||
icon="save"
|
||||
|
|
|
|||
Loading…
Reference in a new issue