fix(export): turbo poll when creating an export
This commit is contained in:
parent
f54caddcfe
commit
8fa6e04c53
3 changed files with 6 additions and 3 deletions
|
@ -394,7 +394,7 @@ module Instructeurs
|
|||
end
|
||||
|
||||
def last_export_for(statut)
|
||||
Export.where(instructeur_id: current_instructeur.id, statut: statut, updated_at: 1.hour.ago..).last
|
||||
Export.where(user_profile: current_instructeur, statut: statut, updated_at: 1.hour.ago..).last
|
||||
end
|
||||
|
||||
def cookies_export_key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue