From b62741938478ff89e70462265c29b5716b110960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Thu, 20 Apr 2023 09:51:47 +0200 Subject: [PATCH] Fallback chart dimension field labels to names --- client/web/compose/src/components/Chart/Report/ReportEdit.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/web/compose/src/components/Chart/Report/ReportEdit.vue b/client/web/compose/src/components/Chart/Report/ReportEdit.vue index 5701de892..f3ad2451c 100644 --- a/client/web/compose/src/components/Chart/Report/ReportEdit.vue +++ b/client/web/compose/src/components/Chart/Report/ReportEdit.vue @@ -589,8 +589,8 @@ export default { }), ].filter(({ kind, options = {} }) => { return this.dimensionFieldKind.includes(kind) && !(options.useRichTextEditor || options.multiLine) - }).map(({ name, label, kind }) => { - return { value: name, text: `${label} (${kind})`, kind } + }).map(({ name, handle, label, kind }) => { + return { value: name, text: `${label || name} (${kind})`, kind } }) },