mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	PR requested changes
This commit is contained in:
		
							parent
							
								
									3275db0a37
								
							
						
					
					
						commit
						b63a68701d
					
				
					 1 changed files with 9 additions and 10 deletions
				
			
		| 
						 | 
					@ -55,14 +55,13 @@
 | 
				
			||||||
                <i class="i-fa6-solid:pen mx-2" @click="showEditGroupModal = true" />
 | 
					                <i class="i-fa6-solid:pen mx-2" @click="showEditGroupModal = true" />
 | 
				
			||||||
                <i class="i-fa6-solid:circle-minus mx-2" @click="groupToDelete = group.groupName" />
 | 
					                <i class="i-fa6-solid:circle-minus mx-2" @click="groupToDelete = group.groupName" />
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
 | 
					        </button>
 | 
				
			||||||
        <ConfirmModal
 | 
					        <ConfirmModal
 | 
				
			||||||
                v-if="groupToDelete == group.groupName"
 | 
					            v-if="groupToDelete != null"
 | 
				
			||||||
            :message="$t('actions.delete_group_confirm')"
 | 
					            :message="$t('actions.delete_group_confirm')"
 | 
				
			||||||
            @close="groupToDelete = null"
 | 
					            @close="groupToDelete = null"
 | 
				
			||||||
                @confirm="deleteGroup(group)"
 | 
					            @confirm="deleteGroup(groupToDelete)"
 | 
				
			||||||
        />
 | 
					        />
 | 
				
			||||||
        </button>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        <button class="btn mx-1" @click="showCreateGroupModal = true">
 | 
					        <button class="btn mx-1" @click="showCreateGroupModal = true">
 | 
				
			||||||
            <i class="i-fa6-solid:circle-plus" />
 | 
					            <i class="i-fa6-solid:circle-plus" />
 | 
				
			||||||
        </button>
 | 
					        </button>
 | 
				
			||||||
| 
						 | 
					@ -240,9 +239,9 @@ export default {
 | 
				
			||||||
            this.showEditGroupModal = false;
 | 
					            this.showEditGroupModal = false;
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        deleteGroup(group) {
 | 
					        deleteGroup(group) {
 | 
				
			||||||
            this.deleteChannelGroup(group.groupName);
 | 
					            this.deleteChannelGroup(group);
 | 
				
			||||||
            this.channelGroups = this.channelGroups.filter(g => g != group);
 | 
					            this.channelGroups = this.channelGroups.filter(g => g.groupName != group);
 | 
				
			||||||
            this.selectedGroup = this.channelGroups[0];
 | 
					            this.selectedGroup = this.channelGroups[0] || {};
 | 
				
			||||||
            this.groupToDelete = null;
 | 
					            this.groupToDelete = null;
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        checkedChange(subscription) {
 | 
					        checkedChange(subscription) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue