Skip to content

Commit 1b68417

Browse files
seniertreiher
authored andcommitted
Consider sets without RPE to be hard sets
1 parent b0ddff3 commit 1b68417

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
- Background color of sections on routine page and training session page
2323
- Omit charts that contain no data
2424
- Hide empty columns in training tables
25+
- Consider sets without RPE value to be hard sets
2526

2627
### Fixed
2728

frontend/src/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ impl TrainingSession {
654654
.iter()
655655
.filter_map(|e| match e {
656656
TrainingSessionElement::Set { rpe, .. } => {
657-
if rpe.unwrap_or(0.0) >= 7.0 {
657+
if rpe.unwrap_or(10.0) >= 7.0 {
658658
Some(1)
659659
} else {
660660
None

0 commit comments

Comments
 (0)