mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
70304d92d4
fixes TryGhost/Product#3970 - When saving a tier, it is impossible to change the capitalization of a benefit - The logic when saving a tier matches benefits by `name.toLowercase()` and then overwrites the incoming change with the name from the previous version of the benefit - This changes the logic to match benefits the same way using `name.toLowercase()`, but use the _incoming_ benefit's capitalization rather than the old benefit's, to allow users to e.g. change 'TEst benefit' to 'Test benefit' |
||
---|---|---|
.. | ||
admin | ||
content | ||
members | ||
members-comments | ||
shared | ||
webmentions |