Skip to content

Commit

Permalink
Referral notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
1aerostorm committed Nov 20, 2023
1 parent 3e13d1f commit b02caeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/components/modules/TopRightMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function TopRightMenu({account, savings_withdraws, price_per_golos, globalprops,
{link: uiaLink, icon: 'editor/coin', value: tt('g.assets')},
{link: ordersLink, icon: 'trade', value: tt('navigation.market2'), addon: <NotifiCounter fields="fill_order" />},
{link: inviteLink, icon: 'hf/hf19', value: tt('g.invites')},
{link: blogLink, target: blogsTarget(), icon: 'new/blogging', value: tt('g.blog'), addon: <NotifiCounter fields="comment_reply,mention,new_sponsor,sponsor_inactive" />},
{link: blogLink, target: blogsTarget(), icon: 'new/blogging', value: tt('g.blog'), addon: <NotifiCounter fields="comment_reply,mention,new_sponsor,sponsor_inactive,referral" />},
{link: donatesLink, icon: 'hf/hf8', value: tt('g.rewards'), addon: <NotifiCounter fields="donate,donate_msgs" />},
(messagesLink ?
{link: messagesLink, icon: 'new/envelope', value: tt('g.messages'), target: '_blank', addon: <NotifiCounter fields="message" />} :
Expand Down Expand Up @@ -196,7 +196,7 @@ function TopRightMenu({account, savings_withdraws, price_per_golos, globalprops,
</div>
</div>
</a>
<div className="TopRightMenu__notificounter"><NotifiCounter fields="send,receive,delegate_vs,donate,donate_msgs,message,fill_order,comment_reply,mention,new_sponsor,sponsor_inactive,nft_receive" /></div>
<div className="TopRightMenu__notificounter"><NotifiCounter fields="send,receive,delegate_vs,donate,donate_msgs,message,fill_order,comment_reply,mention,new_sponsor,sponsor_inactive,nft_receive,referral" /></div>
</li>}
</LinkWithDropdown>
{navAdditional}
Expand Down
2 changes: 1 addition & 1 deletion app/components/pages/UserProfile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ export default class UserProfile extends React.Component {
<div className='UserProfile__filler' />
<div>
<a className='UserProfile__menu-item' href={blogsUrl(`/@`) + accountname} target={blogsTarget()}>
{tt('g.blog')} {isMyAccount && <NotifiCounter fields='comment_reply,mention' />}
{tt('g.blog')} {isMyAccount && <NotifiCounter fields='comment_reply,mention,referral' />}
</a>
<LinkWithDropdown
closeOnClickOutside
Expand Down

0 comments on commit b02caeb

Please sign in to comment.