diff options
author | Arseniy Movshev <dodoradio@outlook.com> | 2023-06-02 16:16:08 +0100 |
---|---|---|
committer | Arseniy Movshev <dodoradio@outlook.com> | 2023-06-02 17:12:18 +0100 |
commit | fa77cef96f5bbb49afad287fc85215bedc864ce7 (patch) | |
tree | f1b2e00283f00c258b9d1e7a84befd452b663aee /src | |
parent | 016bc05247854fc832ae3b2e82d5cb2698173b17 (diff) |
Fix syntax on valuesar.count to make graph show intermediate values correctly
Diffstat (limited to '')
-rw-r--r-- | src/main.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.qml b/src/main.qml index e2e4876..f428db6 100644 --- a/src/main.qml +++ b/src/main.qml @@ -89,7 +89,7 @@ Application { currDate.setDate(currDate.getDate() + 1) console.log(currDate) var currvalue = stepsDataLoader.getDataForDate(currDate) - if (currvalue > 0 || valuesArr.count>0) { + if (currvalue > 0 || valuesArr.length > 0) { if (currvalue > maxValue) { maxValue = currvalue } |