Skip to content

Commit

Permalink
HF 30 - Add NFT notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
1aerostorm committed Jun 1, 2024
1 parent a5b535a commit d8b2a18
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 @@ -157,7 +157,7 @@ function TopRightMenu({account, savings_withdraws, price_per_golos, globalprops,
{link: repliesLink, icon: 'new/answer', value: tt('g.replies'), addon: <NotifiCounter fields="comment_reply" />},
{link: discussionsLink, icon: 'new/bell', value: tt('g.discussions'), addon: <NotifiCounter fields="subscriptions" />},
{link: mentionsLink, icon: 'new/mention', value: tt('g.mentions'), addon: <NotifiCounter fields="mention" />},
{link: walletLink, target: walletTarget(), icon: 'new/wallet', value: tt('g.wallet'), addon: <NotifiCounter fields="send,receive,fill_order,delegate_vs,nft_receive" />},
{link: walletLink, target: walletTarget(), icon: 'new/wallet', value: tt('g.wallet'), addon: <NotifiCounter fields="send,receive,fill_order,delegate_vs,nft_receive,nft_token_sold,nft_buy_offer" />},
{link: donatesLink, target: walletTarget(), 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 @@ -199,7 +199,7 @@ function TopRightMenu({account, savings_withdraws, price_per_golos, globalprops,
</div>
</div>
</a>
<div className="TopRightMenu__notificounter"><NotifiCounter fields="feed,subscriptions,send,receive,delegate_vs,donate,donate_msgs,message,fill_order,comment_reply,mention,new_sponsor,sponsor_inactive,nft_receive,referral" /></div>
<div className="TopRightMenu__notificounter"><NotifiCounter fields="feed,subscriptions,send,receive,delegate_vs,donate,donate_msgs,message,fill_order,comment_reply,mention,new_sponsor,sponsor_inactive,nft_receive,nft_token_sold,nft_buy_offer,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 @@ -449,7 +449,7 @@ export default class UserProfile extends React.Component {
<div className='UserProfile__filler' />
<div>
<a href={walletUrl(`/@${accountname}/transfers`)} target={walletTarget()} className={`${walletClass} UserProfile__menu-item`}>
{tt('g.wallet')} {isMyAccount && <NotifiCounter fields='send,receive,fill_order,nft_receive' />}
{tt('g.wallet')} {isMyAccount && <NotifiCounter fields='send,receive,fill_order,nft_receive,nft_token_sold,nft_buy_offer' />}
</a>
<LinkWithDropdown
closeOnClickOutside
Expand Down

0 comments on commit d8b2a18

Please sign in to comment.