Skip to content

Commit

Permalink
Merge pull request #1813 from mparke/fix-plan-miscalculation
Browse files Browse the repository at this point in the history
Fix plans, bump version, and update changelog
  • Loading branch information
eatonphil authored May 18, 2017
2 parents f5faa77 + c23fe9f commit 963e3ac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.5.3] 2017-05-18
### Fixed
- fixed miscalculated plan values #1811

## [0.5.2] 2017-05-18
### Fixed
- fixed user restricted radio #1808
Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linode-manager",
"version": "0.5.2",
"version": "0.5.3",
"description": "The Linode Manager website",
"scripts": {
"clean": "rm -rf dist",
Expand Down
4 changes: 2 additions & 2 deletions src/linodes/components/Plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export default class Plan extends Component {
</div>
</header>
<div className="option-contents">
<div className="pricing">${hourlyPrice / 100}/hr (${monthlyPrice / 100}/mo)</div>
<div className="pricing">${hourlyPrice}/hr (${monthlyPrice}/mo)</div>
<hr />
<div className="cpu-ram">{plan.ram} GB / {plan.vcpus} CPU</div>
<div className="cpu-ram">{plan.ram / 1024} GB / {plan.vcpus} CPU</div>
<div className="hdd">{Math.round(plan.storage / 1024)} GB SSD</div>
<div className="transfer">{plan.transfer / 1000} TB Transfer</div>
</div>
Expand Down

0 comments on commit 963e3ac

Please sign in to comment.