From 78e4361452befdab73f2afbf744f185ff413f421 Mon Sep 17 00:00:00 2001 From: Corban-Lee <77944149+XordK@users.noreply.github.com> Date: Tue, 9 May 2023 01:56:30 +0100 Subject: [PATCH] first load of teams now uses default filtesr --- src/static/js/teams.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() {