mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: don't fix sidebar if the summoner has no stats
This commit is contained in:
parent
6dbe9a8871
commit
6ec0fc7e85
1 changed files with 1 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ export default {
|
|||
if (this.isMobile) return
|
||||
if (!this.sidebarRectangle.height) return
|
||||
if (!this.overview.matches.length) return
|
||||
if (!this.overview.stats.champion.length) return
|
||||
|
||||
this.fixedSidebar = window.innerHeight + document.documentElement.scrollTop > this.sidebarRectangle.y + this.sidebarRectangle.height + 123
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue