Fix build

This commit is contained in:
James Lyne 2021-07-24 04:09:33 +01:00
parent bc38af3254
commit 0c1ca36be1
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ export default defineComponent({
followTarget: {
handler(newValue, oldValue) {
if (newValue) {
this.updateFollow(newValue, !oldValue || newValue.account !== oldValue.account);
this.updateFollow(newValue, !oldValue || newValue.name !== oldValue.name);
}
},
deep: true

View File

@ -22,7 +22,7 @@
<input v-if="players && searchEnabled" id="players__search" type="text" name="search"
v-model="searchQuery" :placeholder="messagePlayersSearchPlaceholder" @keydown="onKeydown">
<RadioList v-if="filteredPlayers.length" aria-labelledby="players-heading">
<PlayerListItem v-for="player in filteredPlayers" :key="player.account"
<PlayerListItem v-for="player in filteredPlayers" :key="player.name"
:player="player"></PlayerListItem>
</RadioList>
<div v-else-if="searchQuery" class="section__skeleton">{{ messageSkeletonPlayersSearch }}</div>