mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-15 12:49:17 +00:00
fix: polish pages and bugs fix (#36)
This commit is contained in:
@@ -35,7 +35,7 @@ const dashboardStore = useDashboardStore();
|
||||
const routesMap: { [key: string]: string } = {
|
||||
GeneralServices: "GENERAL",
|
||||
Database: "VIRTUAL_DATABASE",
|
||||
MESH: "MESH",
|
||||
MeshServices: "MESH",
|
||||
ControlPanel: "MESH_CP",
|
||||
DataPanel: "MESH_DP",
|
||||
Linux: "OS_LINUX",
|
||||
@@ -43,7 +43,8 @@ const routesMap: { [key: string]: string } = {
|
||||
Satellite: "SO11Y_SATELLITE",
|
||||
Functions: "FAAS",
|
||||
Browser: "BROWSER",
|
||||
Kubernetes: "K8S",
|
||||
KubernetesCluster: "K8S",
|
||||
KubernetesService: "K8S_SERVICE",
|
||||
};
|
||||
const layer = ref<string>("GENERAL");
|
||||
|
||||
@@ -51,6 +52,7 @@ getDashboard();
|
||||
|
||||
async function getDashboard() {
|
||||
layer.value = routesMap[String(route.name)];
|
||||
console.log(layer.value);
|
||||
dashboardStore.setLayer(layer.value);
|
||||
dashboardStore.setEntity(EntityType[1].value);
|
||||
dashboardStore.setMode(false);
|
||||
|
Reference in New Issue
Block a user