Ghost/ghost/admin/app/controllers
Rishabh Garg d16a8781a9 🐛 Fixed sending non-integer prices to tiers api (#2288)
closes https://github.com/TryGhost/Team/issues/1319

Due to how JS implements numbers, it's possible that when we multiple a number with 2 decimal places by 100 that we do not end up with an integer e.g. 9.95 * 100 = 994.999...

This is not a valid price for the API and so we must round it to the nearest integer. We round off prices both at source as well as in ties serializer to make sure we never send non integer prices to API.
2022-03-04 14:48:45 +05:30
..
editor Collapsed @service injection definitions to single-line style 2022-02-01 17:03:54 +00:00
members Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
settings 🐛 Fixed sending non-integer prices to tiers api (#2288) 2022-03-04 14:48:45 +05:30
setup Renamed Finishing Touches onboarding step to Done with other changes and styling tweaks 2022-03-02 12:46:15 +00:00
application.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
billing.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
dashboard.js Added display of get-started modal after completing setup flow 2022-02-01 18:20:26 +00:00
designsandbox.js Renamed design sandbox template 2021-02-05 14:00:51 +01:00
editor.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
error.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
home.js Added display of get-started modal after completing setup flow 2022-02-01 18:20:26 +00:00
launch.js Updated pricing setup on launch wizard 2021-05-20 17:01:12 +05:30
member.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
members-activity.js Excluded all email related events from feeds when newsletter is disabled 2022-01-27 19:19:15 +00:00
members.js Added "Next billing date" members filter 2022-03-03 22:43:50 +00:00
offer.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
offers.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
pages-loading.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
pages.js Switched majority of files from EmberObject to native class syntax using @classic decorator (#2227) 2022-02-01 09:34:03 +00:00
posts-loading.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
posts.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
reset.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
settings.js Collapsed @service injection definitions to single-line style 2022-02-01 17:03:54 +00:00
setup.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
signin.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
signup.js Made session.user a synchronous property rather than a promise 2021-07-08 14:54:31 +01:00
site.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tag.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tags.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
whatsnew.js Updated database warning wording 2022-01-18 11:10:25 +00:00