mirror of
https://github.com/TeamPiped/Piped.git
synced 2026-09-15 17:23:45 +00:00
Implement more reka ui and attempt to fix review issues.
This commit is contained in:
@@ -6,10 +6,9 @@
|
||||
<div v-for="(group, index) in channelGroups" :key="group.groupName" class="px-1">
|
||||
<div class="flex items-center justify-between">
|
||||
<span>{{ group.groupName }}</span>
|
||||
<input
|
||||
type="checkbox"
|
||||
:checked="group.channels.includes(channelId)"
|
||||
@change="onCheckedChange(index, group)"
|
||||
<UiCheckbox
|
||||
:model-value="group.channels.includes(channelId)"
|
||||
@update:model-value="onCheckedChange(index, group)"
|
||||
/>
|
||||
</div>
|
||||
<hr class="h-1 w-full" />
|
||||
@@ -33,6 +32,7 @@
|
||||
import { ref, onMounted } from "vue";
|
||||
import ModalComponent from "./ModalComponent.vue";
|
||||
import CreateGroupModal from "./CreateGroupModal.vue";
|
||||
import UiCheckbox from "./ui/Checkbox.vue";
|
||||
import { getChannelGroups, createOrUpdateChannelGroup } from "@/composables/useChannelGroups.js";
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
Reference in New Issue
Block a user