ops-log completed (for now)

This commit is contained in:
2020-05-23 22:59:20 +00:00
parent eb906f6e3d
commit 554b36bee2
2 changed files with 11 additions and 12 deletions

View File

@@ -159,7 +159,7 @@ export default {
if (!contentType) {
return response;
}
console.log("gzapi::extractBody method, content type is:", contentType);
//console.log("gzapi::extractBody method, content type is:", contentType);
if (contentType.includes("json")) {
return response.json();
}

View File

@@ -23,10 +23,9 @@
<pre>{{ log }}</pre>
</v-card>
<v-card-actions>
<v-btn @click="getDataFromApi" class="m-4">
<v-btn @click="getDataFromApi">
<v-icon>fa-sync</v-icon>
</v-btn>
<v-btn text>Button</v-btn>
</v-card-actions>
</v-card>
</v-col>
@@ -47,7 +46,7 @@ export default {
.then(() => {
vm.formState.ready = true;
window.$gz.eventBus.$on("menu-click", clickHandler);
generateMenu(vm);
vm.formState.loading = false;
})
.catch(err => {
@@ -77,14 +76,14 @@ export default {
},
methods: {
onResize() {
this.logCardHeight = window.innerHeight * 0.65;
},
translation() {
return window.$gz.translation;
},
locale() {
return window.$gz.locale;
this.logCardHeight = window.innerHeight * 0.7;
},
// translation() {
// return window.$gz.translation;
// },
// locale() {
// return window.$gz.locale;
// },
form() {
return window.$gz.form;
},
@@ -132,7 +131,7 @@ export default {
valid: true,
loading: false
});
generateMenu(vm);
// generateMenu(vm);
}
})
.catch(function handleGetDataFromAPIError(error) {