There was a problem with the CephFS chart that causes the chart not to
show on initialization. This commit fixes that.
Fixes: https://tracker.ceph.com/issues/41166
Signed-off-by: Stephan Müller <smueller@suse.com>
-<div class="chart-container"
- *ngIf="chart?.datasets">
+<div class="chart-container">
<canvas baseChart
#chartCanvas
- [datasets]="chart?.datasets"
- [options]="chart?.options"
- [chartType]="chart?.chartType">
+ [datasets]="chart.datasets"
+ [options]="chart.options"
+ [chartType]="chart.chartType">
</canvas>
<div class="chartjs-tooltip"
#chartTooltip>