Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dashboard crash #4754

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Fix dashboard crash #4754

merged 1 commit into from
Oct 29, 2024

Conversation

RobertJoonas
Copy link
Contributor

@RobertJoonas RobertJoonas commented Oct 29, 2024

Changes

Fixes dashboard crashing when comparisons are enabled in the query and changing from realtime period to a historical period.

The previous attempt to fix this did half of the work, but since the comparing_from and comparing_to fields were returned from the backend even for realtime queries, the bug is still there.

Reproduction:

  1. Comparison disabled, choose a non-realtime period (e.g. press T for "Last 30 days")
  2. Enable comparison mode (press X)
  3. Choose the realtime period (press R)
  4. Choose a non-realtime period again (press T)

Copy link

Preview environment👷🏼‍♀️🏗️
PR-4754

@RobertJoonas RobertJoonas requested a review from a team October 29, 2024 10:33
@RobertJoonas RobertJoonas added this pull request to the merge queue Oct 29, 2024
Merged via the queue into master with commit ad8f49b Oct 29, 2024
11 checks passed
@RobertJoonas RobertJoonas deleted the fix-dashboard-crash branch November 4, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants