mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 04:53:39 +08:00
regression, empty suggested list after posting a topic
This commit is contained in:
parent
c2cfbce9ce
commit
c27d5dc2bd
|
@ -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 New Issue
Block a user