Skip to content
Snippets Groups Projects
Commit 373ac3cf authored by Ben's avatar Ben
Browse files

Switched to meet feedback

parent e0d8af69
No related branches found
No related tags found
Loading
......@@ -23,8 +23,8 @@
</m-tooltip>
</li>
<li *ngIf="user.onchain_booster && user.onchain_booster * 1000 > getDate() && badges.indexOf('onchain_booster') > -1">
<m-tooltip icon="whatshot" [iconClass]="{'selected': user.founder}" i18n="Founder as user status@@COMMON__BADGES__FOUNDER">
<li *ngIf="showOnchainBadge()">
<m-tooltip icon="link" [iconClass]="{'selected': user.founder}" i18n="Founder as user status@@COMMON__BADGES__FOUNDER">
Onchain Booster
</m-tooltip>
</li>
......
......@@ -88,4 +88,12 @@ export class ChannelBadgesComponent {
* Allows access to Date.now() in template.
*/
getDate = () => Date.now();
/**
*
*/
showOnchainBadge = () => this.user.onchain_booster
&& this.user.onchain_booster * 1000 > this.getDate()
&& this.badges.indexOf('onchain_booster') > -1;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment