diff --git a/src/inputs/ToolInput.vue b/src/inputs/ToolInput.vue index 8bd7fd91..1254cbd0 100644 --- a/src/inputs/ToolInput.vue +++ b/src/inputs/ToolInput.vue @@ -46,6 +46,8 @@ }, methods: { setTemps() { + if (parseFloat(this.value) === 0) this.value = 0 + if (this.max_temp !== undefined && this.value > this.max_temp) { this.value = this.target; Vue.$toast.error("Temperature too high for "+this.name+"! (max: "+this.max_temp+")");