Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
team: Rename contrib_total_commits to calculate_total_commits.
Vishnu KS6b9e7a402242
diff --git a/static/js/portico/team.js b/static/js/portico/team.jsindex 2b58c7c732d..a2e29b65c3e 100644--- a/static/js/portico/team.js+++ b/static/js/portico/team.js@@ -16,7 +16,7 @@ const repo_name_to_tab_name = {// if a user leaves and then revisits the same tab.const loaded_repos = [];-function contrib_total_commits(contributor) {+function calculate_total_commits(contributor) {let commits = 0;Object.keys(repo_name_to_tab_name).forEach((repo_name) => {commits += contributor[repo_name] || 0;@@ -42,7 +42,7 @@ export default function render_tabs() {.map((c) => ({name: c.name,avatar: c.avatar,- commits: contrib_total_commits(c),+ commits: calculate_total_commits(c),})).sortBy("commits").reverse()