diff --git a/frontend/components/ChampionSelector.vue b/frontend/components/ChampionSelector.vue index 1365dd4..f7b0de0 100644 --- a/frontend/components/ChampionSelector.vue +++ b/frontend/components/ChampionSelector.vue @@ -82,6 +82,11 @@ watch(searchText, (newTerm) => { debouncedSearch(newTerm); }); +// Watch for changes in champions data and update filtered champions +watch(champions, (newChampions) => { + filteredChampions.value = [...newChampions]; +}, { immediate: true }); + // Navigation async function navigateToChampion(championAlias: string): Promise { try { diff --git a/frontend/components/nav/BottomBar.vue b/frontend/components/nav/BottomBar.vue index 8b0816a..170a737 100644 --- a/frontend/components/nav/BottomBar.vue +++ b/frontend/components/nav/BottomBar.vue @@ -30,9 +30,13 @@ if(route.path.startsWith("/tierlist/")) {