mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
cleanup debug code
This commit is contained in:
parent
e70a1f0a60
commit
b5124d0f6a
2 changed files with 2 additions and 6 deletions
|
@ -49,8 +49,6 @@ BlazeComponent.extendComponent({
|
|||
this.queryErrors = null;
|
||||
Meteor.subscribe('setting');
|
||||
if (Session.get('globalQuery')) {
|
||||
// eslint-disable-next-line no-console
|
||||
// console.log(Session.get('globalQuery'));
|
||||
this.searchAllBoards(Session.get('globalQuery'));
|
||||
}
|
||||
},
|
||||
|
@ -68,12 +66,12 @@ BlazeComponent.extendComponent({
|
|||
|
||||
results() {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('getting results');
|
||||
// console.log('getting results');
|
||||
if (this.queryParams) {
|
||||
const results = Cards.globalSearch(this.queryParams);
|
||||
this.queryErrors = results.errors;
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('errors:', this.queryErrors);
|
||||
// console.log('errors:', this.queryErrors);
|
||||
if (this.errorMessages().length) {
|
||||
this.hasQueryErrors.set(true);
|
||||
return null;
|
||||
|
|
|
@ -1883,8 +1883,6 @@ Cards.globalSearch = queryParams => {
|
|||
hasErrors() {
|
||||
for (const prop in this.notFound) {
|
||||
if (this.notFound[prop].length) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('errors in:', prop, this.notFound[prop]);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue