feat(export): show refresh button sooner

This commit is contained in:
Paul Chavard 2022-11-15 18:52:40 +01:00
parent 8eac50f7c9
commit c1ae9d03be

View file

@ -72,7 +72,7 @@ class Export < ApplicationRecord
end
def old?
updated_at < 20.minutes.ago || filters_changed?
updated_at < 10.minutes.ago || filters_changed?
end
def filters_changed?