This commit is contained in:
@@ -738,6 +738,14 @@ function initNavPanel() {
|
|||||||
key: key++
|
key: key++
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// OPS VIEW SERVER CONFIGURATION
|
||||||
|
sub.push({
|
||||||
|
title: "ServerState",
|
||||||
|
icon: "fa-info-circle",
|
||||||
|
route: "/ops-view-configuration",
|
||||||
|
key: key++
|
||||||
|
});
|
||||||
|
|
||||||
// ** OPERATIONS (TOP)
|
// ** OPERATIONS (TOP)
|
||||||
addNavItem("Operations", "fa-server", undefined, sub, key++, "operations");
|
addNavItem("Operations", "fa-server", undefined, sub, key++, "operations");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -139,6 +139,7 @@ export default {
|
|||||||
"ServerMetrics",
|
"ServerMetrics",
|
||||||
"ServerProfiler",
|
"ServerProfiler",
|
||||||
"NotificationSettings",
|
"NotificationSettings",
|
||||||
|
"ViewServerConfiguration",
|
||||||
"HelpAboutAyaNova",
|
"HelpAboutAyaNova",
|
||||||
"MenuHelp",
|
"MenuHelp",
|
||||||
"More",
|
"More",
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ export default {
|
|||||||
async created() {
|
async created() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
try {
|
try {
|
||||||
await initForm(vm);
|
// await initForm(vm);
|
||||||
|
|
||||||
vm.formState.ready = true;
|
vm.formState.ready = true;
|
||||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||||
@@ -166,16 +166,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(["ViewServerConfiguration"]);
|
// await window.$gz.translation.cacheTranslations(["ViewServerConfiguration"]);
|
||||||
}
|
// }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
AYANOVA_DEFAULT_TRANSLATION = ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION,
|
AYANOVA_DEFAULT_TRANSLATION = ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION,
|
||||||
|
|||||||
Reference in New Issue
Block a user