diff --git a/client/src/components/Summoner/Live/LiveTeam.vue b/client/src/components/Summoner/Live/LiveTeam.vue index f5ef22e..2e685e0 100644 --- a/client/src/components/Summoner/Live/LiveTeam.vue +++ b/client/src/components/Summoner/Live/LiveTeam.vue @@ -40,7 +40,7 @@
@@ -57,7 +57,8 @@ {{ player.summonerName }}
Level {{ player.level }}
@@ -193,6 +194,7 @@ export default { computed: { ...mapState({ + account: state => state.summoner.basic.account, live: state => state.summoner.live.match, liveLoaded: state => state.summoner.live.liveLoaded, }) @@ -207,6 +209,13 @@ export default { } return this.live.bannedChampions.find(b => b.pickTurn === index) }, + borderChampion(id) { + if (id === this.account.id) { + return 'border-yellow-500' + } + + return this.ally ? 'border-teal-400' : 'border-red-400' + }, getSummonerLink, } }