mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
regression, empty suggested list after posting a topic
This commit is contained in:
parent
c2cfbce9ce
commit
c27d5dc2bd
1 changed files with 2 additions and 1 deletions
|
@ -144,7 +144,7 @@ Discourse.TopicView = Discourse.View.extend(Discourse.Scrolling, {
|
|||
if(suggested) {
|
||||
|
||||
var existing = _(suggested).map(function(topic){
|
||||
topic.get("id");
|
||||
return topic.get("id");
|
||||
});
|
||||
|
||||
var lookup = _.chain(incoming)
|
||||
|
@ -156,6 +156,7 @@ Discourse.TopicView = Discourse.View.extend(Discourse.Scrolling, {
|
|||
.first(5)
|
||||
.value();
|
||||
|
||||
|
||||
this.debounceLoadSuggested(lookup);
|
||||
}
|
||||
}.observes('topicTrackingState.incomingCount'),
|
||||
|
|
Loading…
Reference in a new issue