fixed bug in small action post when assigning or unassigning
This commit is contained in:
parent
8aea4cf8b6
commit
4bacf2c5af
|
@ -492,7 +492,7 @@ class ::Assigner
|
|||
end
|
||||
|
||||
def small_action_username_or_name(assign_to)
|
||||
if assign_to.is_a?(User) && SiteSetting.prioritize_full_name_in_ux && !assign_to.username
|
||||
if (assign_to.is_a?(User) && SiteSetting.prioritize_full_name_in_ux) || !assign_to.username
|
||||
custom_fields = { "action_code_who" => assign_to.name || assign_to.username }
|
||||
else
|
||||
custom_fields = {
|
||||
|
|
Loading…
Reference in New Issue