This commit is contained in:
2020-08-12 21:55:37 +00:00
parent a82d0b8e67
commit 661df1fa30
3 changed files with 18 additions and 9 deletions

View File

@@ -738,6 +738,14 @@ function initNavPanel() {
key: key++
});
// OPS VIEW SERVER CONFIGURATION
sub.push({
title: "ServerState",
icon: "fa-info-circle",
route: "/ops-view-configuration",
key: key++
});
// ** OPERATIONS (TOP)
addNavItem("Operations", "fa-server", undefined, sub, key++, "operations");
}

View File

@@ -139,6 +139,7 @@ export default {
"ServerMetrics",
"ServerProfiler",
"NotificationSettings",
"ViewServerConfiguration",
"HelpAboutAyaNova",
"MenuHelp",
"More",

View File

@@ -67,7 +67,7 @@ export default {
async created() {
let vm = this;
try {
await initForm(vm);
// await initForm(vm);
vm.formState.ready = true;
window.$gz.eventBus.$on("menu-click", clickHandler);
@@ -166,16 +166,16 @@ function clickHandler(menuItem) {
//
//
async function initForm(vm) {
await fetchTranslatedText(vm);
//await fetchTranslatedText(vm);
}
//////////////////////////////////////////////////////////
//
// Ensures UI translated text is available
//
async function fetchTranslatedText(vm) {
await window.$gz.translation.cacheTranslations(["ViewServerConfiguration"]);
}
// //////////////////////////////////////////////////////////
// //
// // Ensures UI translated text is available
// //
// async function fetchTranslatedText(vm) {
// await window.$gz.translation.cacheTranslations(["ViewServerConfiguration"]);
// }
/*
AYANOVA_DEFAULT_TRANSLATION = ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION,