mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	fix: add to channel group modal is not scrollable
This commit is contained in:
		
							parent
							
								
									77e4245eb5
								
							
						
					
					
						commit
						77a01740aa
					
				
					 1 changed files with 12 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -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>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue