From 29cbf84f3c3cea64e279c8a14bfb07c3e73cadf1 Mon Sep 17 00:00:00 2001 From: "Maxim.Kolmakov" Date: Tue, 5 Nov 2024 09:07:21 +0100 Subject: [PATCH] Add (client) to aliases otherwise metrics from backend and client are clashed --- .../src/components/charts/GroupProjectsWithClientChart.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/new-dashboard/src/components/charts/GroupProjectsWithClientChart.vue b/dashboard/new-dashboard/src/components/charts/GroupProjectsWithClientChart.vue index 65670555..6dc4bdaf 100644 --- a/dashboard/new-dashboard/src/components/charts/GroupProjectsWithClientChart.vue +++ b/dashboard/new-dashboard/src/components/charts/GroupProjectsWithClientChart.vue @@ -28,5 +28,5 @@ interface Props { const { label, measure, projects, machines = null, valueUnit = "ms", legendFormatter = (name: string) => name, aliases = null } = defineProps() const projectWithClient = [...projects, ...projects.map((project) => `${project}/embeddedClient`)] -const aliasesWithClient = aliases != null ? [...aliases, ...aliases] : null +const aliasesWithClient = aliases != null ? [...aliases, ...aliases.map((aliases) => `${aliases}(client)`)] : null