From 246e1304b0e4d655296f6b00fb954958904c4472 Mon Sep 17 00:00:00 2001 From: Rocky Date: Fri, 18 Oct 2024 21:26:25 -0400 Subject: [PATCH] fix(analytics): trend range text in multi-entity queries [MA-3250] (#1730) In the case where we can't query a trend (either because the props said not to or because we're doing a multi-entity query), it doesn't make sense to render any trend text. --- .../analytics-metric-provider/sandbox/App.vue | 134 ++++++++++++++++-- .../src/composables/useMetricFetcher.ts | 5 +- .../src/mockExploreResponse.ts | 13 +- 3 files changed, 132 insertions(+), 20 deletions(-) diff --git a/packages/analytics/analytics-metric-provider/sandbox/App.vue b/packages/analytics/analytics-metric-provider/sandbox/App.vue index ad6692302c..b3be3885d6 100644 --- a/packages/analytics/analytics-metric-provider/sandbox/App.vue +++ b/packages/analytics/analytics-metric-provider/sandbox/App.vue @@ -1,4 +1,20 @@