Restore reminder period I replaced by mistake

This commit is contained in:
Jorge Manrubia
2025-06-04 17:17:47 +02:00
parent 77ff7f43eb
commit 5dc33c304c
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1,6 +1,8 @@
module Card::Entropic
extend ActiveSupport::Concern
ENTROPY_REMINDER_BEFORE = 7.days
included do
scope :entropic_by, ->(period_name) do
left_outer_joins(collection: :entropy_configuration)
@@ -1,6 +1,6 @@
<div hidden class="bubble bubble--<%= card.engagement_status %>"
data-controller="bubble" data-action="turbo:morph-element->bubble#update"
data-bubble-reminder-before-value="<%= card.entropy.auto_clean_period.seconds.in_days.to_i %>"
data-bubble-reminder-before-value="<%= Card::Entropic::ENTROPY_REMINDER_BEFORE.in_days.to_i %>"
data-bubble-closes-at-value="<%= card.entropy.auto_clean_at.iso8601 %>"
data-bubble-entropy-action-value="<%= card_entropy_action(card) %>">
<svg viewBox="0 0 200 100">