This gives easy access to test if the "user/visitor" has an account, is i
a contributor and if she is core.
Right now I am using this to display an account badge the the name and the account. - currently not styled.
This gives easy access to test if the "user/visitor" has an account, is i
a contributor and if she is core.
Right now I am using this to display an account badge the the name and the account. - currently not styled.
fsmanuel
(Migrated from github.com)
requested changes 2018-04-06 15:19:23 +00:00
fsmanuel
(Migrated from github.com)
left a comment
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This gives easy access to test if the "user/visitor" has an account, is i
a contributor and if she is core.
Right now I am using this to display an account badge the the name and the account. - currently not styled.
❤️ left some comments
You can add:
import { isEmpty, isPresent } from 'ember-utils';and make this
return isPresent(this.get('currentUser'));^^
^^
👍
We import
RSVPso you can use it withoutEmber^^
let address = this.get('currentUserAccounts.firstObject')id = id.toNumber()if (id === 0)@@ -1,8 +1,19 @@{{#if kredits.hasAccounts }}I would indent it like this:
guess this should get some styling before we merge it.
👏