diff --git a/CHANGELOG.md b/CHANGELOG.md index b16ac54..9ca429e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/composer.json b/composer.json index 1139864..21e0ffb 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/src/templates/widgets/CartAbandonment/body.twig b/src/templates/widgets/CartAbandonment/body.twig index 227ecac..d9507b2 100755 --- a/src/templates/widgets/CartAbandonment/body.twig +++ b/src/templates/widgets/CartAbandonment/body.twig @@ -75,8 +75,7 @@ yAxes: [{ stacked: false, ticks: { - min: 0, - stepSize: {{ dataCountTotal < 5 ? 5 : (dataCountTotal|round) / 10 }} + min: 0 } }] },