force player/goalie names to correct case when editing
This commit is contained in:
parent
1adf6de990
commit
6238e39f69
|
@ -2,6 +2,7 @@
|
|||
|
||||
## current
|
||||
- Don't show player number zero in reports
|
||||
- Fixed player/goalie name capitalisation on edit
|
||||
|
||||
## 0.9.0
|
||||
- Bugfix: Display lifetime stats in report, not YTD
|
||||
|
|
|
@ -56,7 +56,7 @@ editGoalieNumberPrompt = numPrompt "Goalie number: " $
|
|||
|
||||
-- | Prompt to edit a goalie's name
|
||||
editGoalieNamePrompt :: Prompt
|
||||
editGoalieNamePrompt = strPrompt "Goalie name: " $
|
||||
editGoalieNamePrompt = namePrompt "Goalie name: " $
|
||||
modify . editGoalieName
|
||||
|
||||
-- | Prompt to edit a goalie's YTD games played
|
||||
|
|
|
@ -46,7 +46,7 @@ editPlayerNumPrompt = numPrompt "Player number: " $
|
|||
|
||||
-- | Prompt to edit a player's name
|
||||
editPlayerNamePrompt :: Prompt
|
||||
editPlayerNamePrompt = strPrompt "Player name: " $
|
||||
editPlayerNamePrompt = namePrompt "Player name: " $
|
||||
editPlayer . (pName .~)
|
||||
|
||||
-- | Prompt to edit a player's position
|
||||
|
|
Loading…
Reference in New Issue
Block a user