add defaults to hrm settings

pull/2591/head
thyttan 2023-02-19 19:23:41 +01:00
parent 2e6489240d
commit 71892cf917
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ let settings = Object.assign({
value: 0,
notifications: [],
},
HRM: {
min: 65,
max: 170,
},
},
}, require("Storage").readJSON("run.json", 1) || {});
let statIDs = [settings.B1,settings.B2,settings.B3,settings.B4,settings.B5,settings.B6].filter(s=>s!=="");