mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-11-04 06:31:55 +00:00 
			
		
		
		
	Merge pull request #3075 from Bnyro/master
fix: add to channel group modal is not scrollable
This commit is contained in:
		@@ -1,16 +1,18 @@
 | 
			
		||||
<template>
 | 
			
		||||
    <ModalComponent @close="$emit('close')">
 | 
			
		||||
        <span v-t="'actions.add_to_group'" class="mb-3 inline-block w-max text-2xl" />
 | 
			
		||||
        <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)"
 | 
			
		||||
                />
 | 
			
		||||
        <div class="h-[80vh] overflow-y-scroll pr-4">
 | 
			
		||||
            <span v-t="'actions.add_to_group'" class="mb-3 inline-block w-max text-2xl" />
 | 
			
		||||
            <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)"
 | 
			
		||||
                    />
 | 
			
		||||
                </div>
 | 
			
		||||
                <hr class="h-1 w-full" />
 | 
			
		||||
            </div>
 | 
			
		||||
            <hr class="h-1 w-full" />
 | 
			
		||||
        </div>
 | 
			
		||||
    </ModalComponent>
 | 
			
		||||
</template>
 | 
			
		||||
 
 | 
			
		||||
@@ -88,7 +88,7 @@
 | 
			
		||||
            <input v-model="editedGroupName" type="text" class="input" />
 | 
			
		||||
            <button v-t="'actions.okay'" class="btn" :placeholder="$t('actions.group_name')" @click="editGroupName()" />
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="mb-2 mt-3 h-70 flex flex-col overflow-y-scroll">
 | 
			
		||||
        <div class="mb-2 mt-3 h-[80vh] flex flex-col overflow-y-scroll pr-2">
 | 
			
		||||
            <div v-for="subscription in subscriptions" :key="subscription.name">
 | 
			
		||||
                <div class="mr-3 flex items-center justify-between">
 | 
			
		||||
                    <a :href="subscription.url" target="_blank" class="flex items-center overflow-hidden">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user