FIX: Do not raise an error for anon user on group page
This commit is contained in:
parent
ae83f70e21
commit
48cda7bb79
|
@ -3,6 +3,6 @@ export default Ember.Component.extend({
|
|||
|
||||
init() {
|
||||
this._super(...arguments);
|
||||
this.set("canAssign", this.currentUser.can_assign);
|
||||
this.set("canAssign", this.currentUser && this.currentUser.can_assign);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue