mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix JS tests take 2.
This commit is contained in:
parent
0042d94f76
commit
5e45b682a2
@ -69,6 +69,8 @@ const SearchHelper = {
|
|||||||
if (searchContext && searchContext.type === 'topic') {
|
if (searchContext && searchContext.type === 'topic') {
|
||||||
widget.appEvents.trigger('post-stream:refresh', { force: true });
|
widget.appEvents.trigger('post-stream:refresh', { force: true });
|
||||||
searchData.topicId = searchContext.id;
|
searchData.topicId = searchContext.id;
|
||||||
|
} else {
|
||||||
|
searchData.topicId = null;
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
searchData.loading = false;
|
searchData.loading = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user