feat(web-app): rename function to have new measurments

This commit is contained in:
fastium
2025-05-20 14:37:25 +02:00
parent a64bceb7de
commit b6e4e3219a

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="control-panel"> <div class="control-panel">
<button @click="addTemperature" class="action-button"> <button @click="newMeasurments" class="action-button">
New Measurments New Measurments
</button> </button>
@@ -70,9 +70,9 @@ export default defineComponent({
Multiselect, Multiselect,
}, },
methods: { methods: {
addTemperature() { newMeasurments() {
// Implement your functionality here // Implement your functionality here
console.log("Add temperature clicked"); console.log("New measurments clicked");
this.manager this.manager
.getNewValue() .getNewValue()
.then((result) => {}) .then((result) => {})
@@ -81,7 +81,7 @@ export default defineComponent({
}); });
}, },
fetchData() { fetchData() {
console.log("Fetch data"); console.log("Fetch measurments clicked");
this.manager this.manager
.getTimeSeriesData() .getTimeSeriesData()
.then((result) => {}) .then((result) => {})