mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Move call to URL search to onRendered
This commit is contained in:
parent
91ef8ca1ae
commit
c66a48e530
1 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,9 @@ BlazeComponent.extendComponent({
|
||||||
this.myBoardNames.set(data);
|
this.myBoardNames.set(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
onRendered() {
|
||||||
Meteor.subscribe('setting');
|
Meteor.subscribe('setting');
|
||||||
if (Session.get('globalQuery')) {
|
if (Session.get('globalQuery')) {
|
||||||
this.searchAllBoards(Session.get('globalQuery'));
|
this.searchAllBoards(Session.get('globalQuery'));
|
||||||
|
|
@ -332,8 +334,6 @@ BlazeComponent.extendComponent({
|
||||||
);
|
);
|
||||||
Tracker.nonreactive(() => {
|
Tracker.nonreactive(() => {
|
||||||
Tracker.autorun(() => {
|
Tracker.autorun(() => {
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
// console.log('ready:', handle.ready());
|
|
||||||
if (handle.ready()) {
|
if (handle.ready()) {
|
||||||
this.getResults();
|
this.getResults();
|
||||||
this.searching.set(false);
|
this.searching.set(false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue