mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 11:54:33 +03:00
92dbc288ec
- changed to bar chart - added handling of empty dataset
11 lines
366 B
Handlebars
11 lines
366 B
Handlebars
<div class="gh-dashboard-chart-box {{if this.isSmall "small"}}" {{did-insert (perform this.fetchStatsTask)}}>
|
|
{{#if (not this.stats)}}
|
|
<GhLoadingSpinner />
|
|
{{else}}
|
|
<EmberChart
|
|
@type={{this.type}}
|
|
@options={{this.chartOptions}}
|
|
@data={{this.chartData}}
|
|
@height={{300}} />
|
|
{{/if}}
|
|
</div> |