mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: display select queue even if no champions are found
This commit is contained in:
parent
541d6395b1
commit
2a196c9115
1 changed files with 7 additions and 2 deletions
|
|
@ -1,12 +1,17 @@
|
|||
<template>
|
||||
<div>
|
||||
<div class="mt-3">
|
||||
<template v-if="champions.length && championsLoaded">
|
||||
<template v-if="championsLoaded">
|
||||
<div class="mt-4 flex items-center">
|
||||
<ChampionsSearch @search-champions="updateSearch" />
|
||||
<FilterQueue @filter-queue="filterByQueue" :choices="queues" class="ml-4" />
|
||||
</div>
|
||||
<ChampionsTable :champions="champions" :search="searchChampions" class="mt-6" />
|
||||
<ChampionsTable
|
||||
v-if="champions.length"
|
||||
:champions="champions"
|
||||
:search="searchChampions"
|
||||
class="mt-6"
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue