Skip to content

Commit 2928baa

Browse files
authored
fix(tracemetrics): Fix analytics firing (#103982)
### Summary Metadata panel should fire and not be based on pending. Closes LOGS-517
1 parent cde2cc5 commit 2928baa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/app/views/explore/hooks/useAnalytics.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ export function useMetricsPanelAnalytics({
740740
return;
741741
}
742742

743-
if (metricSamplesTableResult.result.isFetching || !metricTimeseriesResult.isPending) {
743+
if (metricSamplesTableResult.result.isFetching || metricTimeseriesResult.isPending) {
744744
return;
745745
}
746746

@@ -810,7 +810,7 @@ export function useMetricsPanelAnalytics({
810810

811811
if (
812812
metricAggregatesTableResult.result.isPending ||
813-
!metricTimeseriesResult.isPending
813+
metricTimeseriesResult.isPending
814814
) {
815815
return;
816816
}

0 commit comments

Comments
 (0)