Commit 34091ea5 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

#40 Histogram is missing args validity check

parent 310c45fc
Pipeline #7092 passed with stages
in 5 minutes and 29 seconds
......@@ -163,6 +163,9 @@
categories: this.params.catVars.value
}
},
validArgs () {
return typeof this.args.data !== 'undefined'
},
margin () {
const left = this.width / 20
const top = this.height / 20
......@@ -302,7 +305,7 @@
watch: {
'args': {
handler: function (newArgs) {
if (!this.hasSetFilter) {
if (!this.hasSetFilter && this.validArgs) {
this.runAnalysisWrapper(newArgs)
}
this.hasSetFilter = false
......
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