feat: Show contact created date in contact panel (#6364)

* feat: Show contact created date in contact panel

* Add created at in Contacts table

* Moves created at info as tooltip

---------

Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
This commit is contained in:
Fayaz Ahmed
2023-02-04 10:40:23 +05:30
committed by GitHub
parent 38aee8d9ea
commit 8ac1cab27e
4 changed files with 25 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ json.thumbnail resource.avatar_url
json.custom_attributes resource.custom_attributes
json.conversations_count resource.conversations_count if resource[:conversations_count].present?
json.last_activity_at resource.last_activity_at.to_i if resource[:last_activity_at].present?
json.created_at resource.created_at.to_i if resource[:created_at].present?
# we only want to output contact inbox when its /contacts endpoints
if defined?(with_contact_inboxes) && with_contact_inboxes.present?
json.contact_inboxes do