fixed issue of 'typeof' expression is compared to 'null' in Web UI
Merge branch 'develop'pull/64/head
commit
f898a6fd83
|
@ -123,7 +123,7 @@ const EnergyFlowDiagram = ({ setRedirect, setRedirectUrl, t }) => {
|
|||
}
|
||||
|
||||
energyFlowDiagramData.links.forEach(function (item) {
|
||||
if(typeof item.value === 'null') {
|
||||
if(item.value === null) {
|
||||
item.value = 0;
|
||||
}
|
||||
let sourceColor = null;
|
||||
|
|
Loading…
Reference in New Issue