1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore: minor code smell

This commit is contained in:
Ferdinand Mütsch
2020-11-28 20:50:35 +01:00
parent a0e64ca955
commit 095fef4868
2 changed files with 6 additions and 6 deletions

View File

@ -203,7 +203,7 @@ function togglePlaceholders(mask) {
}
function getPresentDataMask() {
return data.map(list => list ? list.reduce((acc, e) => acc + e.total, 0) : 0 > 0)
return data.map(list => (list ? list.reduce((acc, e) => acc + e.total, 0) : 0) > 0)
}
function getContainer(chart) {