mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fixed up a linting issue for the empty state for Paid Mix
refs: https://github.com/TryGhost/Team/issues/1531
This commit is contained in:
parent
8bf30b3a68
commit
c488ca4dc5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue