fix linting (#7329)

This commit is contained in:
Tarek Khalil 2019-04-05 15:28:41 +01:00 committed by GitHub
parent 131eba0366
commit 19a1d35f66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@ export default class PostCooked {
this._highlighted = false;
this.decoratorHelper = decoratorHelper;
this.currentUser = decoratorHelper.widget.currentUser;
this.ignoredUsers = this.currentUser ? this.currentUser.ignored_users : null;
this.ignoredUsers = this.currentUser
? this.currentUser.ignored_users
: null;
}
update(prev) {