app/cells/decidim/budgets/limit_announcement_cell.rb in decidim-budgets-0.23.6 vs app/cells/decidim/budgets/limit_announcement_cell.rb in decidim-budgets-0.24.0.rc1
- old
+ new
@@ -18,10 +18,10 @@
return unless voting_open?
return unless current_user
return if vote_allowed?(budget)
return if voted?(budget)
- discardable.any? || !vote_allowed?(budget, false)
+ discardable.any? || !vote_allowed?(budget, consider_progress: false)
end
def announcement_args
{
callout_class: "warning",