fix: CSAT reports page failing to load (#3123)
CSAT reports page was failing to load when there is an assigned agent is deleted.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
json.account_id resource.account.id
|
||||
# could be nil for a deleted agent hence the safe operator before account id
|
||||
json.account_id resource.account&.id
|
||||
json.availability_status resource.availability_status
|
||||
json.confirmed resource.confirmed?
|
||||
json.email resource.email
|
||||
|
||||
Reference in New Issue
Block a user