FIX: assign decoratorHelper (#7338)

This commit is contained in:
Tarek Khalil 2019-04-08 16:17:09 +01:00 committed by GitHub
parent 3987691b5e
commit 02394e9170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@ export default class PostCooked {
this.attrs = attrs; this.attrs = attrs;
this.expanding = false; this.expanding = false;
this._highlighted = false; this._highlighted = false;
this.decoratorHelper = decoratorHelper;
this.currentUser = currentUser; this.currentUser = currentUser;
this.ignoredUsers = this.currentUser this.ignoredUsers = this.currentUser
? this.currentUser.ignored_users ? this.currentUser.ignored_users