fix: Enhance CRM UI (#1397)

* feat: Sort by name
* feat: Fetch labels from sidebar
* Remove unused language file
* Add beta tag to contacts
* Add timeMixin, reduce font-size
* Remove unused methods
* Remove unused prop
* Disabled footer if no contacts or invalid page
* Add keyup for input
* Fix conversation not loading if there are no active conversations
* return last_seen_at as unix time
* Fix contact edit modal
* Add loader for edit contact button
* Fix review comments
This commit is contained in:
Pranav Raj S
2020-11-11 16:02:14 +05:30
committed by GitHub
parent 32fce96503
commit 5c3de5e095
13 changed files with 72 additions and 69 deletions

View File

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