Merge pull request #4285 from tgxworld/fix_polls_not_cooked
FIX: Incorrect model for embedded post widget.
This commit is contained in:
@@ -108,6 +108,7 @@ function initializePolls(api) {
|
||||
_pollViews = postPollViews;
|
||||
}
|
||||
|
||||
api.includePostAttributes("polls", "polls_votes");
|
||||
api.decorateCooked(createPollViews, { onlyStream: true });
|
||||
api.cleanupStream(cleanUpPollViews);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user