- UI will show the breach in the conversation list. - UI will show the breach in the conversation header. Fixes: https://linear.app/chatwoot/issue/CW-3146/update-the-ui-to-show-the-breach-in-the-conversation-list Fixes: https://linear.app/chatwoot/issue/CW-3144/ui-update-to-show-the-breachgoing-to-breach
14 lines
317 B
Ruby
14 lines
317 B
Ruby
module Enterprise::Conversations::EventDataPresenter
|
|
def push_data
|
|
if account.feature_enabled?('sla')
|
|
super.merge(
|
|
applied_sla: applied_sla&.push_event_data,
|
|
sla_events: sla_events.map(&:push_event_data),
|
|
sla_policy_id: sla_policy_id
|
|
)
|
|
else
|
|
super
|
|
end
|
|
end
|
|
end
|