diff --git a/web/src/portico/team.js b/web/src/portico/team.js index c2a0692395..b57527c4a1 100644 --- a/web/src/portico/team.js +++ b/web/src/portico/team.js @@ -67,7 +67,9 @@ export default function render_tabs() { const template = _.template($("#contributors-template").html()); const count_template = _.template($("#count-template").html()); const total_count_template = _.template($("#total-count-template").html()); - const contributors_list = page_params.contributors.filter((c) => exclude_bot_contributors(c)); + const contributors_list = page_params.contributors + ? page_params.contributors.filter((c) => exclude_bot_contributors(c)) + : []; const mapped_contributors_list = contributors_list.map((c) => ({ name: get_display_name(c), github_username: c.github_username,