mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 23:12:34 +03:00
исправление бага
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
let updatingTimeout = 80000;
|
||||
let opened = false;
|
||||
let preventMove = false;
|
||||
let devMode = true;
|
||||
let devMode = false;
|
||||
|
||||
//****************************************************variable section**********************************************************/
|
||||
//******************************************************************************************************************************/
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
console.log("[i]", "collecting chart data to array, topic:", widget.topic);
|
||||
let incomingDataArr = widget.status;
|
||||
|
||||
//console.log("[i]", "array:", incomingDataArr);
|
||||
console.log("[i]", "array:", incomingDataArr);
|
||||
|
||||
collectingDataArray = [...collectingDataArray, ...incomingDataArr];
|
||||
|
||||
@@ -82,6 +82,8 @@
|
||||
|
||||
function clearCart() {
|
||||
collectingDataArray = [];
|
||||
labels = [0, 0];
|
||||
values = [0, 0];
|
||||
datachart = {
|
||||
labels: [0],
|
||||
datasets: [
|
||||
|
||||
Reference in New Issue
Block a user