FIX: assign `decoratorHelper` (#7338)

FIX: assign decoratorHelper (#7338)

diff --git a/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 b/app/assets/javascripts/discourse/widgets/post-cooked.js.es6
index 94627ec..c8458f5 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

GitHub sha: 02394e91

1 Like