app/helpers/decidim/budgets/projects_helper.rb in decidim-budgets-0.28.1 vs app/helpers/decidim/budgets/projects_helper.rb in decidim-budgets-0.28.2

- old
+ new

@@ -124,15 +124,15 @@ return if project.address.blank? project.latitude.present? && project.longitude.present? end - def filter_addition_type_values(added_count:) + def filter_addition_type_values return [] if voting_finished? [ - ["all", { text: t("all", scope: "decidim.budgets.projects.project_filter"), count: nil }], - ["added", { text: t("added", scope: "decidim.budgets.projects.project_filter"), count: added_count }] + ["all", t("all", scope: "decidim.budgets.projects.project_filter")], + ["added", t("added", scope: "decidim.budgets.projects.project_filter")] ] end def filter_sections @filter_sections ||= begin