Web: reduce console logs a bit

This commit is contained in:
Sybren A. Stüvel 2022-04-12 16:11:52 +02:00
parent 77cc0f36e6
commit 6161853136
2 changed files with 0 additions and 4 deletions

@ -48,7 +48,6 @@ export default {
methods: {
// UI component event handlers:
onActiveJobChanged(jobSummary) {
console.log("Selected:", jobSummary);
this.activeJobSummary = jobSummary;
},
@ -83,7 +82,6 @@ export default {
fetchManagerInfo() {
const metaAPI = new API.MetaApi(this.apiClient);
metaAPI.getVersion().then((version) => {
console.log("version:", version);
this.flamencoName = version.name;
this.flamencoVersion = version.version;
})

@ -87,14 +87,12 @@ export default {
.then(this.sortData);
},
processNewJob(jobUpdate) {
console.log("processNewJob:", jobUpdate);
// The update doesn't have all the info we need, so just fetch the job via
// an API call. If this is ever changed, and the jobUpdate does have
// everything needed for this table, JobDetails.vue also needs to be
// adjusted for this.
const jobsApi = new JobsApi(this.apiClient);
jobsApi.fetchJob(jobUpdate.id).then((job) => {
console.log('API called successfully. Returned data: ' + job);
console.log("Fetched job:", JSON.parse(JSON.stringify(job)));
this.tabulator.addData([job])
.then(this.sortData);