Commit 453ea24a authored by Lucas Détré's avatar Lucas Détré

fix minor bug involving splitting an empty string

parent 21f02144
Pipeline #3182 passed with stage
in 1 minute and 56 seconds
......@@ -133,7 +133,7 @@
},
created: function () {
this.load();
this.selected_filters = decodeURI(window.location.hash).split('#')[1].split(',');
if(decodeURI(window.location.hash) != "") this.selected_filters = decodeURI(window.location.hash).split('#')[1].split(',');
},
methods: {
load: function () {
......
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