mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: display error message if the summoner has no champions stats
This commit is contained in:
parent
cccf60a9ca
commit
da369edb5b
1 changed files with 51 additions and 45 deletions
|
|
@ -30,6 +30,7 @@
|
|||
</Dropdown>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="stats.champion.length">
|
||||
<div class="mt-3 px-4 flex items-baseline text-left text-sm text-blue-300 font-bold">
|
||||
<div class="ml-2 w-champion text-base text-blue-400">Champion</div>
|
||||
<div class="w-plays">plays</div>
|
||||
|
|
@ -77,6 +78,11 @@
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div v-else class="px-4 py-2">
|
||||
<div>No champions have been found.</div>
|
||||
<div>😕</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue