first load of teams now uses default filtesr

This commit is contained in:
Corban-Lee 2023-05-09 01:56:30 +01:00
parent 57615ffd4d
commit 78e4361452

View File

@ -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() {