Initialize fonction « unread_notifications » in DossierListFacade
This commit is contained in:
parent
4e6adf5bc3
commit
ce5bf8d622
5 changed files with 16 additions and 8 deletions
|
@ -63,7 +63,7 @@ class Gestionnaire < ActiveRecord::Base
|
|||
PreferenceSmartListingPage.create(page: 1, procedure: nil, gestionnaire: self, liste: 'a_traiter')
|
||||
end
|
||||
|
||||
def notification_unread procedure
|
||||
def unread_notifications procedure
|
||||
procedure_ids = dossiers_follow.pluck(:procedure_id)
|
||||
|
||||
if procedure_ids.include?(procedure.id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue