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