mirror of https://github.com/Lissy93/dashy.git
chore: Linting changes
This commit is contained in:
parent
59a52c652b
commit
98ed7d1190
|
@ -119,7 +119,6 @@ export default {
|
||||||
|
|
||||||
const updated = this.setMonitorValue(dataType, monitor, value);
|
const updated = this.setMonitorValue(dataType, monitor, value);
|
||||||
|
|
||||||
console.log(monitor, updated);
|
|
||||||
monitors.set(monitorName, updated);
|
monitors.set(monitorName, updated);
|
||||||
},
|
},
|
||||||
setMonitorValue(key, monitor, value) {
|
setMonitorValue(key, monitor, value) {
|
||||||
|
@ -178,11 +177,11 @@ export default {
|
||||||
errors.push(this.errorMessageConstants.missingApiKey);
|
errors.push(this.errorMessageConstants.missingApiKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (errors.length == 0) { return true; }
|
if (errors.length === 0) { return true; }
|
||||||
|
|
||||||
this.errorMessage = errors.join('\n');
|
this.errorMessage = errors.join('\n');
|
||||||
return false;
|
return false;
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue