Skip to content
Snippets Groups Projects
Unverified Commit e57f16c8 authored by Jesse Devaney's avatar Jesse Devaney Committed by GitHub
Browse files

fix query string parsing (#39537)

parent 1a3698b8
Branches
Tags
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.
Please register or to comment