Fix build
This commit is contained in:
parent
bc38af3254
commit
0c1ca36be1
@ -123,7 +123,7 @@ export default defineComponent({
|
|||||||
followTarget: {
|
followTarget: {
|
||||||
handler(newValue, oldValue) {
|
handler(newValue, oldValue) {
|
||||||
if (newValue) {
|
if (newValue) {
|
||||||
this.updateFollow(newValue, !oldValue || newValue.account !== oldValue.account);
|
this.updateFollow(newValue, !oldValue || newValue.name !== oldValue.name);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<input v-if="players && searchEnabled" id="players__search" type="text" name="search"
|
<input v-if="players && searchEnabled" id="players__search" type="text" name="search"
|
||||||
v-model="searchQuery" :placeholder="messagePlayersSearchPlaceholder" @keydown="onKeydown">
|
v-model="searchQuery" :placeholder="messagePlayersSearchPlaceholder" @keydown="onKeydown">
|
||||||
<RadioList v-if="filteredPlayers.length" aria-labelledby="players-heading">
|
<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>
|
:player="player"></PlayerListItem>
|
||||||
</RadioList>
|
</RadioList>
|
||||||
<div v-else-if="searchQuery" class="section__skeleton">{{ messageSkeletonPlayersSearch }}</div>
|
<div v-else-if="searchQuery" class="section__skeleton">{{ messageSkeletonPlayersSearch }}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user