Restore reminder period I replaced by mistake
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user