Skip to content

A platform for community discussion. Free, open, simple.

FIX: assign `decoratorHelper` (#7338)

Tarek Khalil02394e917015
diff --git a/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 b/app/assets/javascripts/discourse/widgets/post-cooked.js.es6
index 94627ec704e..c8458f597da 100644
--- a/app/assets/javascripts/discourse/widgets/post-cooked.js.es6
+++ b/app/assets/javascripts/discourse/widgets/post-cooked.js.es6
@@ -16,6 +16,7 @@ export default class PostCooked {
this.attrs = attrs;
this.expanding = false;
this._highlighted = false;
+ this.decoratorHelper = decoratorHelper;
this.currentUser = currentUser;
this.ignoredUsers = this.currentUser
? this.currentUser.ignored_users