Commit 76146873 authored by Marc Mautz's avatar Marc Mautz

fixed "window.location" handling

parent 3aec8a11
...@@ -111,8 +111,8 @@ ...@@ -111,8 +111,8 @@
* Check if url query params set & update filter selection * Check if url query params set & update filter selection
*/ */
checkUrlQueryParams () { checkUrlQueryParams () {
if (window.location.hash.length && window.location.hash.indexOf('?') !== -1) { if ((window.location.hash.length && window.location.hash.indexOf('?') !== -1) || (window.location.search.length && window.location.search.indexOf('?') !== -1)) {
const qs = window.location.hash.split('?')[1] const qs = window.location.hash.split('?')[1] || window.location.search.split('?')[1]
this.queryStrings = this.parseQueryString(qs) this.queryStrings = this.parseQueryString(qs)
setTimeout(() => { setTimeout(() => {
this.updateFilters() this.updateFilters()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment