Merge pull request #489 from basecamp/flavorjones/non-auto-closing-collections

Handle collections that do not auto close
This commit is contained in:
Mike Dalessio
2025-05-12 17:21:44 -04:00
committed by GitHub
+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?