From 09f4f787b8047409b4031ff33ae9f50e1a3ac39e Mon Sep 17 00:00:00 2001 From: evykassirer Date: Mon, 29 Jul 2024 22:48:32 -0700 Subject: [PATCH] search_pill: Replace user display_value with full_name. --- web/src/search_pill.ts | 4 ++-- web/templates/search_user_pill.hbs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/search_pill.ts b/web/src/search_pill.ts index c7dfa7cb8b..533e162ae2 100644 --- a/web/src/search_pill.ts +++ b/web/src/search_pill.ts @@ -18,7 +18,7 @@ export type SearchUserPill = { operator: string; negated: boolean; users: { - display_value: string; + full_name: string; user_id: number; email: string; img_src: string; @@ -95,7 +95,7 @@ function append_user_pill( operator, negated, users: users.map((user) => ({ - display_value: user.full_name, + full_name: user.full_name, user_id: user.user_id, email: user.email, img_src: people.small_avatar_url_for_person(user), diff --git a/web/templates/search_user_pill.hbs b/web/templates/search_user_pill.hbs index 6a5ba322a3..8134da9dae 100644 --- a/web/templates/search_user_pill.hbs +++ b/web/templates/search_user_pill.hbs @@ -7,7 +7,7 @@
- {{ this.display_value }} + {{ this.full_name }} {{~#if this.should_add_guest_user_indicator}} ({{t 'guest'}}){{~/if~}} {{~#if deactivated}} ({{t 'deactivated'}}){{~/if~}} {{~#if this.status_emoji_info~}}