Skip to content

Commit

Permalink
Fixed step count issue by removing step value on CartAbandonment wi…
Browse files Browse the repository at this point in the history
…dget
  • Loading branch information
bymayo committed Jun 3, 2019
1 parent c38d0f2 commit bcb6a71
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Commerce Widgets Changelog

## 2.0.15 - 2019-06-03
### Fixed
- Fixed step count issue by removing step value on `CartAbandonment` widget

## 2.0.14 - 2019-05-14
### Fixed
- Issue with MySQL 5.7 on `CartAbandonment` widget
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bymayo/commerce-widgets",
"description": "Insightful dashboard widgets for your Craft Commerce 2 store.",
"type": "craft-plugin",
"version": "2.0.14",
"version": "2.0.15",
"keywords": [
"craft",
"cms",
Expand Down
3 changes: 1 addition & 2 deletions src/templates/widgets/CartAbandonment/body.twig
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@
yAxes: [{
stacked: false,
ticks: {
min: 0,
stepSize: {{ dataCountTotal < 5 ? 5 : (dataCountTotal|round) / 10 }}
min: 0
}
}]
},
Expand Down

0 comments on commit bcb6a71

Please sign in to comment.