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') {
|
||||
widget.appEvents.trigger('post-stream:refresh', { force: true });
|
||||
searchData.topicId = searchContext.id;
|
||||
} else {
|
||||
searchData.topicId = null;
|
||||
}
|
||||
}).finally(() => {
|
||||
searchData.loading = false;
|
||||
|
|
Loading…
Reference in New Issue