Commit 2dae1411 authored by anton's avatar anton

React to x query param change when value is 0

parent eeef3a6d
......@@ -40,7 +40,7 @@
},
computed: {
queryPositionX () {
if (this.$route.query.x) return parseInt(this.$route.query.x)
if (typeof this.$route.query.x !== 'undefined') return parseInt(this.$route.query.x)
else return null
},
globalTime () {
......
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