Fix skeletons not collapsing
This commit is contained in:
parent
789505e2d9
commit
34bacc044f
@ -21,7 +21,7 @@
|
|||||||
<RadioList class="section__content" v-if="players.size" aria-labelledby="players-heading">
|
<RadioList class="section__content" v-if="players.size" aria-labelledby="players-heading">
|
||||||
<PlayerListItem v-for="[account, player] in players" :key="account" :player="player"></PlayerListItem>
|
<PlayerListItem v-for="[account, player] in players" :key="account" :player="player"></PlayerListItem>
|
||||||
</RadioList>
|
</RadioList>
|
||||||
<div v-else class="section__skeleton">{{ skeletonPlayers }}</div>
|
<div v-else class="section__content section__skeleton">{{ skeletonPlayers }}</div>
|
||||||
</template>
|
</template>
|
||||||
</CollapsibleSection>
|
</CollapsibleSection>
|
||||||
</template>
|
</template>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<RadioList v-if="worlds.size" class="section__content" aria-labelledby="maps-heading">
|
<RadioList v-if="worlds.size" class="section__content" aria-labelledby="maps-heading">
|
||||||
<WorldListItem :world="world" v-for="[name, world] in worlds" :key="`${prefix}_${currentServer}_${name}`"></WorldListItem>
|
<WorldListItem :world="world" v-for="[name, world] in worlds" :key="`${prefix}_${currentServer}_${name}`"></WorldListItem>
|
||||||
</RadioList>
|
</RadioList>
|
||||||
<div v-else class="section__skeleton">{{ skeletonWorlds }}</div>
|
<div v-else class="section__content section__skeleton">{{ skeletonWorlds }}</div>
|
||||||
</template>
|
</template>
|
||||||
</CollapsibleSection>
|
</CollapsibleSection>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user