This commit is contained in:
2021-09-07 20:28:50 +00:00
parent ea73206442
commit ca9f2f6117
2 changed files with 11 additions and 10 deletions

View File

@@ -768,4 +768,6 @@ BUILD 129 CHANGES OF NOTE
- Report templates now allow the same name as long as the type is different so you can have a "MyReport" named report for a Customer and a "MyReport" named report for anything else but no two of the same type can have the same name - Report templates now allow the same name as long as the type is different so you can have a "MyReport" named report for a Customer and a "MyReport" named report for anything else but no two of the same type can have the same name
this is to allow for very similar reports on differing objects so users know what to expect so you don't need to give a special name to a Quote or WO or PM version of the same report this is to allow for very similar reports on differing objects so users know what to expect so you don't need to give a special name to a Quote or WO or PM version of the same report
- Ops "Server configuration" page changed to redact password from db connection string sent to Client from server (like the log already does) - Ops "Server configuration" page changed to redact password from db connection string sent to Client from server (like the log already does)
- Boot log when in debug mode added server environment data for troubleshooting purposes
- Ops server config page added server environment data at bottom for tech support purposes

View File

@@ -99,7 +99,7 @@
</v-list-item> </v-list-item>
<v-divider class="mt-6"></v-divider> <v-divider class="mt-6"></v-divider>
<v-subheader>{{ $ay.t("Server") }}</v-subheader> <v-subheader>Environment</v-subheader>
<div v-for="(value, name) in config.booT_DIAGNOSTIC_INFO" :key="name"> <div v-for="(value, name) in config.booT_DIAGNOSTIC_INFO" :key="name">
<span class="ml-6 body-1">{{ name }}: </span> <span class="ml-6 body-1">{{ name }}: </span>
<span class="body-2">{{ value }}</span> <span class="body-2">{{ value }}</span>
@@ -137,7 +137,6 @@ export default {
async created() { async created() {
let vm = this; let vm = this;
try { try {
await initForm(this);
vm.formState.ready = true; vm.formState.ready = true;
window.$gz.eventBus.$on("menu-click", clickHandler); window.$gz.eventBus.$on("menu-click", clickHandler);
generateMenu(vm); generateMenu(vm);
@@ -235,16 +234,16 @@ function clickHandler(menuItem) {
// //
// //
async function initForm(vm) { async function initForm(vm) {
await fetchTranslatedText(vm); //await fetchTranslatedText(vm);
} }
////////////////////////////////////////////////////////// // //////////////////////////////////////////////////////////
// // //
// Ensures UI translated text is available // // Ensures UI translated text is available
// // //
async function fetchTranslatedText(vm) { // async function fetchTranslatedText(vm) {
await window.$gz.translation.cacheTranslations(["Server"]); // await window.$gz.translation.cacheTranslations(["ViewServerConfiguration"]);
} // }
/* /*
AYANOVA_DEFAULT_TRANSLATION = ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION, AYANOVA_DEFAULT_TRANSLATION = ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION,