Skip to content

Commit

Permalink
Fix missing suggestedMin warning if there's no data
Browse files Browse the repository at this point in the history
  • Loading branch information
rootpd committed Oct 25, 2024
1 parent baa4d06 commit 533a8f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Fixed mail type stats when groupped by week or month. remp/remp#1374
- Changed behavior of `rtm_click` parameter. If the mail template disables click tracking, `rtm_click` is not added to the links anymore. remp/respekt#305
- Fixed removed `<a>` by the newsfilter replace rules which didn't expect anchors without `href` attribute. remp/helpdesk#3082
- Fixed possible issues with chart rendering if there's no data to evaluate yet.

## Archive

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
display: false,
},
y: {
min: {$dataset['suggestedMin']},
min: {$dataset['suggestedMin'] ?? null},
grid: {
display: false,
},
Expand Down Expand Up @@ -172,7 +172,7 @@
display: false,
},
y: {
min: {$dataset['suggestedMin']},
min: {$dataset['suggestedMin'] ?? null},
grid: {
display: false,
},
Expand Down Expand Up @@ -249,7 +249,7 @@
display: false,
},
y: {
min: {$dataset['suggestedMin']},
min: {$dataset['suggestedMin'] ?? null},
grid: {
display: false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
},
y: {
type: 'linear',
min: {$suggestedMin},
min: {$suggestedMin ?? null},
},
},
}
Expand Down

0 comments on commit 533a8f3

Please sign in to comment.