diff options
Diffstat (limited to 'app/Template/analytic/task_distribution.php')
-rw-r--r-- | app/Template/analytic/task_distribution.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/analytic/task_distribution.php b/app/Template/analytic/task_distribution.php index 311e8c65..1231856e 100644 --- a/app/Template/analytic/task_distribution.php +++ b/app/Template/analytic/task_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-task-distribution :metrics='<?= json_encode($metrics, JSON_HEX_APOS) ?>'></chart-project-task-distribution> + <?= $this->app->component('chart-project-task-distribution', array( + 'metrics' => $metrics, + )) ?> <table class="table-striped"> <tr> |