From 14f46a831d0a3d2fcdf00a0560cf51ae3d05bdad Mon Sep 17 00:00:00 2001 From: m-e-l-u-h-a-n Date: Thu, 24 Jun 2021 16:45:57 +0530 Subject: [PATCH] popovers: Add data-user-id in user profile modal. --- static/js/user_profile.js | 1 + static/templates/user_profile_modal.hbs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 50497b1197..9857a64fb1 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -131,6 +131,7 @@ export function show_user_profile(user) { const user_streams = stream_data.get_subscribed_streams_for_user(user.user_id); const groups_of_user = user_groups.get_user_groups_of_user(user.user_id); const args = { + user_id: user.user_id, full_name: user.full_name, email: people.get_visible_email(user), profile_data, diff --git a/static/templates/user_profile_modal.hbs b/static/templates/user_profile_modal.hbs index 31cfd96151..c4b767112c 100644 --- a/static/templates/user_profile_modal.hbs +++ b/static/templates/user_profile_modal.hbs @@ -1,5 +1,5 @@