mirror of
				https://github.com/StefBuwalda/dashboard_test.git
				synced 2025-10-31 03:39:58 +00:00 
			
		
		
		
	Added a bool timeout to logs. This indicated whether or not the request timed out. Preparing data for the frontend graph is put into it's own function. When data is more than 6 s apart it is considered a break in connectivity and a None point is added.
This commit is contained in:
		| @@ -18,8 +18,7 @@ | ||||
|  | ||||
| <script> | ||||
|  | ||||
|     const chartDates = {{ dates| tojson | safe }}.map(dt => new Date(dt)); | ||||
|  | ||||
|     const chartDates = ({{ dates | safe }}).map(dt => new Date(dt)); | ||||
|     const data = { | ||||
|         labels: chartDates, | ||||
|         datasets: [{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user