diff --git a/src/classes/field-types/category/Category.vue b/src/classes/field-types/category/Category.vue index c38491509..1505e34d9 100644 --- a/src/classes/field-types/category/Category.vue +++ b/src/classes/field-types/category/Category.vue @@ -88,7 +88,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); }, getOptions( parent, level = 0 ){ // retrieve only ids diff --git a/src/classes/field-types/category/FormCategory.vue b/src/classes/field-types/category/FormCategory.vue index 08d678181..21c839306 100644 --- a/src/classes/field-types/category/FormCategory.vue +++ b/src/classes/field-types/category/FormCategory.vue @@ -175,7 +175,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); }, labelNewTerms(){ diff --git a/src/classes/field-types/relationship/FormRelationship.vue b/src/classes/field-types/relationship/FormRelationship.vue index 65deb83df..dbf6fd271 100644 --- a/src/classes/field-types/relationship/FormRelationship.vue +++ b/src/classes/field-types/relationship/FormRelationship.vue @@ -165,7 +165,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); }, fetchFieldsFromCollection( value ){ diff --git a/src/classes/field-types/relationship/Relationship.vue b/src/classes/field-types/relationship/Relationship.vue index 22c2ff300..e74f4f269 100644 --- a/src/classes/field-types/relationship/Relationship.vue +++ b/src/classes/field-types/relationship/Relationship.vue @@ -28,7 +28,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); } }, @@ -91,7 +91,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); } else { this.options = []; diff --git a/src/classes/filter-types/autocomplete/Autocomplete.vue b/src/classes/filter-types/autocomplete/Autocomplete.vue index e5f14f259..80c5db77d 100644 --- a/src/classes/filter-types/autocomplete/Autocomplete.vue +++ b/src/classes/filter-types/autocomplete/Autocomplete.vue @@ -59,7 +59,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); }, data(){ @@ -104,7 +104,7 @@ promise.then( () => { this.isLoading = false; }).catch( error => { - console.log('error select', error ); + this.$console.log('error select', error ); this.isLoading = false; }); }, @@ -127,12 +127,12 @@ .then( res => { for (let item of res.data) { // instance.selected.push({ label: item.title, value: item.id, img: '' }); - console.log(item.title); + this.$console.log(item.title); instance.results = item.title; } }) .catch(error => { - console.log(error); + this.$console.log(error); }); } else { instance.results = metadata.value; diff --git a/src/classes/filter-types/checkbox/Checkbox.vue b/src/classes/filter-types/checkbox/Checkbox.vue index 6c1a0b81a..5e8a0bbb5 100644 --- a/src/classes/filter-types/checkbox/Checkbox.vue +++ b/src/classes/filter-types/checkbox/Checkbox.vue @@ -31,7 +31,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); }, data(){ @@ -72,7 +72,7 @@ this.selectedValues() }) .catch( error => { - console.log('error select', error ); + this.$console.log('error select', error ); this.isLoading = false; }); }, diff --git a/src/classes/filter-types/custom-interval/CustomInterval.vue b/src/classes/filter-types/custom-interval/CustomInterval.vue index b93756822..27d817871 100644 --- a/src/classes/filter-types/custom-interval/CustomInterval.vue +++ b/src/classes/filter-types/custom-interval/CustomInterval.vue @@ -65,7 +65,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); }, data(){ diff --git a/src/classes/filter-types/selectbox/Selectbox.vue b/src/classes/filter-types/selectbox/Selectbox.vue index 26fdcc104..71e1b5af7 100644 --- a/src/classes/filter-types/selectbox/Selectbox.vue +++ b/src/classes/filter-types/selectbox/Selectbox.vue @@ -36,7 +36,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); }, data(){ @@ -71,7 +71,7 @@ instance.selectedValues(); }) .catch( error => { - console.log('error select', error ); + this.$console.log('error select', error ); this.isLoading = false; }); }, diff --git a/src/classes/filter-types/taginput/Taginput.vue b/src/classes/filter-types/taginput/Taginput.vue index f2e7c8ed1..bc83214ef 100644 --- a/src/classes/filter-types/taginput/Taginput.vue +++ b/src/classes/filter-types/taginput/Taginput.vue @@ -33,7 +33,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); }, data(){ @@ -83,7 +83,7 @@ promise.then(() => { this.isLoading = false; }).catch( error => { - console.log('error select', error ); + this.$console.log('error select', error ); this.isLoading = false; }); }, @@ -109,7 +109,7 @@ } }) .catch(error => { - console.log(error); + this.$console.log(error); }); } else { for (let item of metadata.value) {