diff --git a/src/static/js/teams.js b/src/static/js/teams.js index 3492c97..6f75c2d 100644 --- a/src/static/js/teams.js +++ b/src/static/js/teams.js @@ -10,8 +10,6 @@ $(document).ready(() => { const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl)) teamsLoading(true); // show the loading icon - fetchAndLoadTeams(); // load the teams - // Search functionality var searchTimeout = null; @@ -60,6 +58,9 @@ $(document).ready(() => { return true; } }); + + fetchAndLoadTeams(...getFilters()); // load the teams with default filters + }); function getFilters() {