removed warning

This commit is contained in:
Omer
2019-11-26 18:24:18 +02:00
parent fc0c83b323
commit 4392ece689

View File

@@ -33,9 +33,7 @@ import CVswitch from '../../components/cv-switch'
},
computed: {
isAutomaticHSV() {
if (typeof this.pipeline.isColorPick === "boolean") {
return this.pipeline.isColorPick;
}
return this.pipeline.isColorPick;
},
pipeline: {
get() {
@@ -44,9 +42,7 @@ import CVswitch from '../../components/cv-switch'
},
isManualHSV()
{
if (typeof this.pipeline.isColorPick === "boolean") {
return !this.pipeline.isColorPick;
}
return !this.pipeline.isColorPick;
},
},
methods:{