mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fix tests
This commit is contained in:
parent
90fa9de9f2
commit
564e5c2a85
1 changed files with 0 additions and 2 deletions
|
@ -128,9 +128,7 @@ export default Component.extend({
|
||||||
setChartData({dateLabels, dateValues, label = 'Total Members'}) {
|
setChartData({dateLabels, dateValues, label = 'Total Members'}) {
|
||||||
let backgroundColors = this.lineColor;
|
let backgroundColors = this.lineColor;
|
||||||
|
|
||||||
|
|
||||||
if (this.chartType === 'open-rate') {
|
if (this.chartType === 'open-rate') {
|
||||||
console.log(dateLabels);
|
|
||||||
backgroundColors = dateLabels.map((val) => {
|
backgroundColors = dateLabels.map((val) => {
|
||||||
if (val) {
|
if (val) {
|
||||||
return this.lineColor;
|
return this.lineColor;
|
||||||
|
|
Loading…
Add table
Reference in a new issue