Skip to content

Commit

Permalink
feat(starfish): Plot multiple releases on mobile service view (#53335)
Browse files Browse the repository at this point in the history
  • Loading branch information
shruthilayaj authored Jul 21, 2023
1 parent 1144449 commit 446ea57
Show file tree
Hide file tree
Showing 2 changed files with 312 additions and 246 deletions.
4 changes: 3 additions & 1 deletion static/app/views/starfish/utils/useEventsStatsQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ export function useEventsStatsQuery({
enabled,
referrer,
initialData,
excludeOther = false,
}: {
eventView: EventView;
enabled?: boolean;
excludeOther?: boolean;
initialData?: MultiSeriesEventsStats;
referrer?: string;
}) {
Expand All @@ -33,7 +35,7 @@ export function useEventsStatsQuery({
...eventView.getEventsAPIPayload(location),
yAxis: eventView.yAxis,
topEvents: eventView.topEvents,
excludeOther: 0,
excludeOther: excludeOther === true ? 1 : 0,
partial: 1,
orderby: eventView.sorts?.[0] ? encodeSort(eventView.sorts?.[0]) : undefined,
interval: eventView.interval,
Expand Down
Loading

0 comments on commit 446ea57

Please sign in to comment.