[#3477] Cleaner way to return no dossiers
This commit is contained in:
parent
d24fb5d186
commit
9096f923b1
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class ProcedurePresentation < ApplicationRecord
|
|||
.map { |date| @dossiers.where(column => date..(date + 1.day)) }
|
||||
.reduce(:or)
|
||||
else
|
||||
[]
|
||||
@dossiers.none
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue