implemented suggested change

This commit is contained in:
Juan David Martinez 2025-03-11 13:19:27 -05:00
parent 4be24d6c31
commit 8aea4cf8b6
No known key found for this signature in database
GPG Key ID: FE50F4B983E68D5B
1 changed files with 1 additions and 2 deletions

View File

@ -482,8 +482,7 @@ function initialize(api) {
}
const icon = iconHTML(assignee.username ? "user-plus" : "group-plus");
let name;
name =
const name =
siteSettings.prioritize_full_name_in_ux || !assignee.username
? assignee.name || assignee.username
: assignee.username;