FIX: Do not raise an error for anon user on group page

This commit is contained in:
David Taylor 2020-07-10 10:20:10 +01:00
parent ae83f70e21
commit 48cda7bb79
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
});