comment console.log

This commit is contained in:
Mathieu Jaumotte 2021-05-23 11:51:02 +02:00
parent 02f1d2ff8a
commit f18ccce814
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ export default {
methods: {
getOptions() {
getSocialIssues().then(response => new Promise((resolve, reject) => {
console.log('get socialIssues', response.results);
//console.log('get socialIssues', response.results);
this.options = response.results;
resolve();
})).catch(error => this.$store.commit('catchError', error));
@ -64,7 +64,7 @@ export default {
let changed = (typeof removed === 'undefined') ? added : removed;
let body = { type: "social_issue", id: changed.id };
//console.log('body', body);
console.log('@@@ CHANGED', method, changed.text);
//console.log('@@@', method, changed.text);
let payload = updated;
return { payload, body, method };
}

View File

@ -182,7 +182,7 @@ let initPromise = getAccompanyingCourse(id)
//console.log('## action: payload', { payload, body, method });
postSocialIssue(id, body, method)
.then(response => new Promise((resolve, reject) => {
console.log('response', response);
//console.log('response', response);
commit('updateSocialIssues', payload);
resolve();
})).catch((error) => { commit('catchError', error) });