Update investments order when hide_money is active

This commit is contained in:
decabeza
2022-02-03 10:52:17 +01:00
committed by taitus
parent 8c3b222c98
commit 50e00a096b
2 changed files with 11 additions and 1 deletions

View File

@@ -190,7 +190,7 @@ class Budget < ApplicationRecord
when "accepting", "reviewing", "finished"
%w[random]
when "publishing_prices", "balloting", "reviewing_ballots"
%w[random price]
hide_money? ? %w[random] : %w[random price]
else
%w[random confidence_score]
end