mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: rank border color if the summoner is unranked
This commit is contained in:
parent
d5394c64f8
commit
d016887eeb
1 changed files with 1 additions and 4 deletions
|
|
@ -86,10 +86,7 @@ export default {
|
|||
|
||||
computed: {
|
||||
colorBorder() {
|
||||
if (!this.selectedLeague.tier) {
|
||||
return 'transparent'
|
||||
}
|
||||
if (this.selectedLeague.leaguePoints === 0) {
|
||||
if (!this.selectedLeague.tier || this.selectedLeague.leaguePoints === 0) {
|
||||
return '#2c5282'
|
||||
}
|
||||
return this.rankColors[this.selectedLeague.tier.toLowerCase()]
|
||||
|
|
|
|||
Loading…
Reference in a new issue