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.
This commit is contained in:
sbansal1999 2023-03-21 12:59:42 +05:30 committed by Tim Abbott
parent 50b91fe5c7
commit 23ff970cf5

View File

@ -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],
}),
)