discourse/app/assets/javascripts/wizard/components/invite-list-user.js.es6

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
290 B
Plaintext
Raw Normal View History

import Component from "@ember/component";
import discourseComputed from "discourse-common/utils/decorators";
2016-09-13 15:14:17 -04:00
export default Component.extend({
2016-09-13 15:14:17 -04:00
classNames: ["invite-list-user"],
@discourseComputed("user.role")
2016-09-13 15:14:17 -04:00
roleName(role) {
return this.roles.findBy("id", role).label;
2016-09-13 15:14:17 -04:00
}
});