mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
Fix JS tests take 2.
This commit is contained in:
@@ -69,6 +69,8 @@ const SearchHelper = {
|
||||
if (searchContext && searchContext.type === 'topic') {
|
||||
widget.appEvents.trigger('post-stream:refresh', { force: true });
|
||||
searchData.topicId = searchContext.id;
|
||||
} else {
|
||||
searchData.topicId = null;
|
||||
}
|
||||
}).finally(() => {
|
||||
searchData.loading = false;
|
||||
|
||||
Reference in New Issue
Block a user