diff options
Diffstat (limited to 'app/Template/analytic/user_distribution.php')
-rw-r--r-- | app/Template/analytic/user_distribution.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/analytic/user_distribution.php b/app/Template/analytic/user_distribution.php index c3cf4961..76ac945c 100644 --- a/app/Template/analytic/user_distribution.php +++ b/app/Template/analytic/user_distribution.php @@ -5,7 +5,9 @@ <?php if (empty($metrics)): ?> <p class="alert"><?= t('Not enough data to show the graph.') ?></p> <?php else: ?> - <chart-project-user-distribution :metrics='<?= json_encode($metrics, JSON_HEX_APOS) ?>'></chart-project-user-distribution> + <?= $this->app->component('chart-project-user-distribution', array( + 'metrics' => $metrics, + )) ?> <table class="table-striped"> <tr> |