Skip to content

Commit

Permalink
fix(cli): fix label trend selections
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-prosser committed Sep 12, 2024
1 parent a42a015 commit b402a5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Unreleased
- Fix selection index issue on custom label trend reports

# v0.33.0
- add custom label trend report
- Add validation to dataset `--stats`
Expand Down
1 change: 1 addition & 0 deletions cli/src/commands/get/custom_label_trend_report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ pub fn pop_label_selection(prompt: &str, label_defs: &mut Vec<LabelDef>) -> Resu

Ok(label_inclusion_selections
.iter()
.rev()
.map(|selection| label_defs.remove(*selection).name)
.collect())
}
Expand Down

0 comments on commit b402a5f

Please sign in to comment.