Skip to content
Snippets Groups Projects
Unverified Commit c924d704 authored by metabase-bot[bot]'s avatar metabase-bot[bot] Committed by GitHub
Browse files

fix query string parsing (#39537) (#39570)

parent 610798bc
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ export function getPathNameFromQueryBuilderMode({
export function getCurrentQueryParams() {
const search =
window.location.search.charAt(0) === "?"
? window.location.search.slice(0)
? window.location.search.slice(1)
: window.location.search;
return querystring.parse(search);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment