Use name instead of display_name in the dashboard

This commit is contained in:
Pranav Raj Sreepuram
2020-10-13 13:03:55 +05:30
parent 2c324d9421
commit 4a2a309d18
5 changed files with 6 additions and 7 deletions

View File

@@ -157,7 +157,7 @@ class Conversation < ApplicationRecord
def create_activity
return unless Current.user
user_name = Current.user&.available_name
user_name = Current.user.name
create_status_change_message(user_name) if saved_change_to_status?
create_assignee_change(user_name) if saved_change_to_assignee_id?