Skip to content

Commit

Permalink
don't call metrics API without datastreams
Browse files Browse the repository at this point in the history
  • Loading branch information
ashokaditya committed Oct 17, 2024
1 parent 7536c80 commit 2f56a29
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export const DataUsageMetrics = () => {
},
{
retry: false,
enabled: !!metricsFilters.dataStreams.length,
}
);

Expand Down

0 comments on commit 2f56a29

Please sign in to comment.