From 77a9a8af3ec7e195cf58cdbf1ee5f3e707ce2c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Tue, 29 Oct 2024 14:01:49 +0100 Subject: [PATCH] Adjust metric drilldown modal title --- client/web/compose/src/components/PageBlocks/MetricBase.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/web/compose/src/components/PageBlocks/MetricBase.vue b/client/web/compose/src/components/PageBlocks/MetricBase.vue index 7bf915a6f..83991a17d 100644 --- a/client/web/compose/src/components/PageBlocks/MetricBase.vue +++ b/client/web/compose/src/components/PageBlocks/MetricBase.vue @@ -222,9 +222,10 @@ export default { } else { // Open in modal const metricID = `${this.block.blockID}-${name.replace(/\s+/g, '-').toLowerCase()}-${moduleID}-${metricIndex}` + const { title } = this.block const block = new compose.PageBlockRecordList({ - title: name || this.$t('metric.metricDrillDown'), + title: name || title || this.$t('metric.metricDrillDown'), blockID: `drillDown-${metricID}`, options: { moduleID,