We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 269c0fa commit 2e9526fCopy full SHA for 2e9526f
static/app/views/dashboards/utils.tsx
@@ -634,13 +634,13 @@ export const performanceScoreTooltip = t('peformance_score is not supported in D
634
export function applyDashboardFilters(
635
baseQuery: string | undefined,
636
dashboardFilters: DashboardFilters | undefined
637
-): string {
+): string | undefined {
638
const dashboardFilterConditions = dashboardFiltersToString(dashboardFilters);
639
if (dashboardFilterConditions) {
640
if (baseQuery) {
641
return `(${baseQuery}) ${dashboardFilterConditions}`;
642
}
643
return dashboardFilterConditions;
644
645
- return baseQuery ?? '';
+ return baseQuery;
646
0 commit comments