From 631da6456d42d417d0ee85ecba5030f337bd919a Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Mon, 9 Dec 2024 19:08:42 +0100 Subject: [PATCH] Fix label for 'Group By' dropdown in Workflow Invocation Metrics Make it dynamic like the other one for time. --- .../WorkflowInvocationState/WorkflowInvocationMetrics.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/src/components/WorkflowInvocationState/WorkflowInvocationMetrics.vue b/client/src/components/WorkflowInvocationState/WorkflowInvocationMetrics.vue index 2298d1880cd5..3a1a1bbf8e19 100644 --- a/client/src/components/WorkflowInvocationState/WorkflowInvocationMetrics.vue +++ b/client/src/components/WorkflowInvocationState/WorkflowInvocationMetrics.vue @@ -372,6 +372,10 @@ function getTimingInTitle(timing: string): string { const timingInTitles = computed(() => { return getTimingInTitle(timing.value); }); + +const groupByInTitles = computed(() => { + return attributeToLabel[groupBy.value]; +});