Web: reduce console logs a bit
This commit is contained in:
parent
77cc0f36e6
commit
6161853136
@ -48,7 +48,6 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// UI component event handlers:
|
// UI component event handlers:
|
||||||
onActiveJobChanged(jobSummary) {
|
onActiveJobChanged(jobSummary) {
|
||||||
console.log("Selected:", jobSummary);
|
|
||||||
this.activeJobSummary = jobSummary;
|
this.activeJobSummary = jobSummary;
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -83,7 +82,6 @@ export default {
|
|||||||
fetchManagerInfo() {
|
fetchManagerInfo() {
|
||||||
const metaAPI = new API.MetaApi(this.apiClient);
|
const metaAPI = new API.MetaApi(this.apiClient);
|
||||||
metaAPI.getVersion().then((version) => {
|
metaAPI.getVersion().then((version) => {
|
||||||
console.log("version:", version);
|
|
||||||
this.flamencoName = version.name;
|
this.flamencoName = version.name;
|
||||||
this.flamencoVersion = version.version;
|
this.flamencoVersion = version.version;
|
||||||
})
|
})
|
||||||
|
@ -87,14 +87,12 @@ export default {
|
|||||||
.then(this.sortData);
|
.then(this.sortData);
|
||||||
},
|
},
|
||||||
processNewJob(jobUpdate) {
|
processNewJob(jobUpdate) {
|
||||||
console.log("processNewJob:", jobUpdate);
|
|
||||||
// The update doesn't have all the info we need, so just fetch the job via
|
// 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
|
// an API call. If this is ever changed, and the jobUpdate does have
|
||||||
// everything needed for this table, JobDetails.vue also needs to be
|
// everything needed for this table, JobDetails.vue also needs to be
|
||||||
// adjusted for this.
|
// adjusted for this.
|
||||||
const jobsApi = new JobsApi(this.apiClient);
|
const jobsApi = new JobsApi(this.apiClient);
|
||||||
jobsApi.fetchJob(jobUpdate.id).then((job) => {
|
jobsApi.fetchJob(jobUpdate.id).then((job) => {
|
||||||
console.log('API called successfully. Returned data: ' + job);
|
|
||||||
console.log("Fetched job:", JSON.parse(JSON.stringify(job)));
|
console.log("Fetched job:", JSON.parse(JSON.stringify(job)));
|
||||||
this.tabulator.addData([job])
|
this.tabulator.addData([job])
|
||||||
.then(this.sortData);
|
.then(this.sortData);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user