Explore: Fix parsing absolute range when URL changes (#72578)

* Fix parsing absolute range when URL changes

* Update public/app/features/explore/hooks/useStateSync/index.test.tsx

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>

* Clean up docs

* Clean up

---------

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
This commit is contained in:
Piotr Jamróz
2023-08-02 11:56:54 +02:00
committed by GitHub
co-authored by Haris Rozajac
parent 95f8cc09c7
commit 922dd94997
4 changed files with 83 additions and 24 deletions
+2 -2
View File
@@ -97,8 +97,8 @@ where:
// ... any other datasource-specific query parameters
}[]; // array of queries for this pane
range: {
from: string | number; // the start time, in milliseconds since epoch
to: string | number; // the end time, in milliseconds since epoch
from: string; // the start time, in milliseconds since epoch
to: string; // the end time, in milliseconds since epoch
}
}
```