From c488ca4dc59c239ae4de72813f8fb30c6cfac24a Mon Sep 17 00:00:00 2001 From: James Morris Date: Tue, 10 May 2022 18:43:08 +0100 Subject: [PATCH] Fixed up a linting issue for the empty state for Paid Mix refs: https://github.com/TryGhost/Team/issues/1531 --- ghost/admin/app/components/dashboard/v5/charts/paid-mix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/components/dashboard/v5/charts/paid-mix.js b/ghost/admin/app/components/dashboard/v5/charts/paid-mix.js index 727df3bf15..2127923df6 100644 --- a/ghost/admin/app/components/dashboard/v5/charts/paid-mix.js +++ b/ghost/admin/app/components/dashboard/v5/charts/paid-mix.js @@ -183,7 +183,7 @@ export default class PaidMix extends Component { label: (tooltipItems, data) => { const tooltipTextEl = document.querySelector('#gh-dashboard5-mix-tooltip .gh-dashboard5-tooltip-value'); if (this.isTotalMembersZero) { - tooltipTextEl.innerHTML = "Currently has no data"; + tooltipTextEl.innerHTML = 'Currently has no data'; } else { const label = data.datasets[tooltipItems.datasetIndex].label || ''; const value = data.datasets[tooltipItems.datasetIndex].data[tooltipItems.index] || 0;