Handle collections that do not auto close

This commit is contained in:
Mike Dalessio
2025-05-12 17:14:35 -04:00
parent 0e0446a88b
commit 5d26feaa75
+1 -1
View File
@@ -34,7 +34,7 @@ module Card::Closeable
end
def closing_soon?
considering? && Time.current >= auto_close_at - AUTO_CLOSE_REMINDER_BEFORE
considering? && auto_closing? && Time.current >= auto_close_at - AUTO_CLOSE_REMINDER_BEFORE
end
def closed?