aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-04-06 08:42:57 +0200
committerZog2018-04-06 08:42:57 +0200
commit38d1557fd237a7abe6753ed95c58718e6d8331e2 (patch)
tree3483a39c081b6887243966989f96245a06cbdb09
parent25473075be6b31632295c95696891368b5bc26f4 (diff)
downloadchouette-core-38d1557fd237a7abe6753ed95c58718e6d8331e2.tar.bz2
Refs #6300; Fix referentials count on dashboard6300-fix-referentials-numbers-on-dashboard
-rw-r--r--app/views/dashboards/_dashboard.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboards/_dashboard.html.slim b/app/views/dashboards/_dashboard.html.slim
index e1be3df4a..466695b5a 100644
--- a/app/views/dashboards/_dashboard.html.slim
+++ b/app/views/dashboards/_dashboard.html.slim
@@ -6,7 +6,7 @@
h3.panel-title.with_actions
div
= link_to t('dashboards.workbench.title', organisation: workbench.organisation.name), workbench_path(workbench)
- span.badge.ml-xs = workbench.referentials.count if workbench.referentials.present?
+ span.badge.ml-xs = workbench.all_referentials.uniq.count if workbench.all_referentials.present?
div
= link_to '', workbench_path(workbench), class: ' fa fa-chevron-right pull-right', title: t('workbenches.index.offers.see')