mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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