fixed charts not loading
This commit is contained in:
parent
7a27acb32a
commit
72ea619f6d
1 changed files with 2 additions and 2 deletions
|
@ -249,10 +249,10 @@ class BlueWeatherDashboard {
|
||||||
|
|
||||||
loadDiagram(parentId, locationData, sensorId) {
|
loadDiagram(parentId, locationData, sensorId) {
|
||||||
if(typeof(parentId) === "string"){
|
if(typeof(parentId) === "string"){
|
||||||
mainContent = document.getElementById(parentId)
|
var mainContent = document.getElementById(parentId)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
mainContent = parentId
|
var mainContent = parentId
|
||||||
}
|
}
|
||||||
|
|
||||||
// get all relevant meassurement values
|
// get all relevant meassurement values
|
||||||
|
|
Loading…
Reference in a new issue