mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Move call to URL search to onRendered
This commit is contained in:
parent
5b194285f5
commit
74ad7b9f8d
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,9 @@ BlazeComponent.extendComponent({
|
|||
this.myBoardNames.set(data);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
onRendered() {
|
||||
Meteor.subscribe('setting');
|
||||
if (Session.get('globalQuery')) {
|
||||
this.searchAllBoards(Session.get('globalQuery'));
|
||||
|
@ -326,8 +328,6 @@ BlazeComponent.extendComponent({
|
|||
const handle = subManager.subscribe('globalSearch', params);
|
||||
Tracker.nonreactive(() => {
|
||||
Tracker.autorun(() => {
|
||||
// eslint-disable-next-line no-console
|
||||
// console.log('ready:', handle.ready());
|
||||
if (handle.ready()) {
|
||||
this.searching.set(false);
|
||||
this.hasResults.set(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue