From d5ed9392a0094731e4036ab41e6576e92391b804 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Fri, 28 May 2021 00:13:46 +0100 Subject: [PATCH] Use radio buttons for player list --- src/components/sidebar/PlayerList.vue | 8 ++-- src/components/sidebar/PlayerListItem.vue | 47 +++++++++++++---------- src/components/util/RadioList.vue | 9 ++++- 3 files changed, 39 insertions(+), 25 deletions(-) diff --git a/src/components/sidebar/PlayerList.vue b/src/components/sidebar/PlayerList.vue index ac2f5f9..2121a05 100644 --- a/src/components/sidebar/PlayerList.vue +++ b/src/components/sidebar/PlayerList.vue @@ -18,10 +18,10 @@ @@ -31,9 +31,11 @@ import PlayerListItem from "./PlayerListItem.vue"; import {defineComponent} from "@vue/runtime-core"; import {useStore} from "@/store"; import CollapsibleSection from "@/components/sidebar/CollapsibleSection.vue"; +import RadioList from "@/components/util/RadioList.vue"; export default defineComponent({ components: { + RadioList, CollapsibleSection, PlayerListItem }, diff --git a/src/components/sidebar/PlayerListItem.vue b/src/components/sidebar/PlayerListItem.vue index bfe511d..8ddddf1 100644 --- a/src/components/sidebar/PlayerListItem.vue +++ b/src/components/sidebar/PlayerListItem.vue @@ -15,13 +15,14 @@ -->