From 23ff970cf5817cfe3eed62d1483cd861af79da84 Mon Sep 17 00:00:00 2001 From: sbansal1999 Date: Tue, 21 Mar 2023 12:59:42 +0530 Subject: [PATCH] portico: Add missing tab_name parameter in teams page. The `tab_name` parameter is supposed to ensure that if you're looking at a tab for repository that's not zulip/zulip, that the GitHub links for authors without an associated GitHub username goes to the commits for that repository. --- web/src/portico/team.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/portico/team.js b/web/src/portico/team.js index 74ccd8b438..cf326460c1 100644 --- a/web/src/portico/team.js +++ b/web/src/portico/team.js @@ -115,7 +115,7 @@ export default function render_tabs() { name: get_display_name(c), github_username: c.github_username, avatar: c.avatar, - profile_url: get_profile_url(c), + profile_url: get_profile_url(c, tab_name), commits: c[repo_name], }), )