diff --git a/src/StatusBox.vue b/src/StatusBox.vue
index e864e06..28e3860 100644
--- a/src/StatusBox.vue
+++ b/src/StatusBox.vue
@@ -23,7 +23,7 @@
PING |
AS |
-
+
{{ tData[0] }} |
{{ tData[1] }} |
{{ tData[2] }} |
@@ -69,9 +69,9 @@ export default {
},
deep: true
},
- tabeleData : {
+ tableData : {
handler() {
- sessionStorage.setItem('tabeleData' + this.boxNumber, JSON.stringify(this.tabeleData));
+ sessionStorage.setItem('tableData' + this.boxNumber, JSON.stringify(this.tableData));
},
deep: true
}
@@ -102,9 +102,9 @@ export default {
axios.get("http://"+ this.selectedIp[0] + ":" +this.selectedIp[1] + "/v3/client/request/" + this.target)
.then(response => {
// JSON responses are automatically parsed.
- this.tabeleData = response.data;
+ this.tableData = response.data;
this.setLastExecutionTime();
- this.tableDataHistory.push(this.tabeleData);
+ this.tableDataHistory.push(this.tableData);
})
.catch(e => {
this.executionTime = 'Check request'
@@ -115,7 +115,7 @@ export default {
this.executionTime = 'Not execute yet',
this.selectedIp = ["199.247.22.146",12111,20473,1],
this.target = '8.8.8.8',
- this.tabeleData = [ ],
+ this.tableData = [ ],
this.tableDataHistory = [ ]
}
},
@@ -129,14 +129,14 @@ export default {
if (sessionStorage.getItem('tableDataHistory'+ this.boxNumber)) this.tableDataHistory = JSON.parse(sessionStorage.getItem('tableDataHistory'+ this.boxNumber));
if (sessionStorage.getItem('target'+ this.boxNumber)) this.target = JSON.parse(sessionStorage.getItem('target'+ this.boxNumber));
- if (sessionStorage.getItem('tabeleData'+ this.boxNumber)) this.tabeleData = JSON.parse(sessionStorage.getItem('tabeleData'+ this.boxNumber));
+ if (sessionStorage.getItem('tableData'+ this.boxNumber)) this.tableData = JSON.parse(sessionStorage.getItem('tableData'+ this.boxNumber));
},
data: function () {
return {
executionTime: 'Not execute yet',
selectedIp: ["199.247.22.146",12111,20473,1],
target: '8.8.8.8',
- tabeleData : [ ],
+ tableData : [ ],
tableDataHistory: []
}
}