From b63a68701d6875f8c116820cecc5b1a4eab867db Mon Sep 17 00:00:00 2001 From: Khusroo hayat Date: Wed, 8 May 2024 07:32:10 +0500 Subject: [PATCH] PR requested changes --- src/components/SubscriptionsPage.vue | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/components/SubscriptionsPage.vue b/src/components/SubscriptionsPage.vue index 795e3528..0fdce6bf 100644 --- a/src/components/SubscriptionsPage.vue +++ b/src/components/SubscriptionsPage.vue @@ -55,14 +55,13 @@ - - + @@ -240,9 +239,9 @@ export default { this.showEditGroupModal = false; }, deleteGroup(group) { - this.deleteChannelGroup(group.groupName); - this.channelGroups = this.channelGroups.filter(g => g != group); - this.selectedGroup = this.channelGroups[0]; + this.deleteChannelGroup(group); + this.channelGroups = this.channelGroups.filter(g => g.groupName != group); + this.selectedGroup = this.channelGroups[0] || {}; this.groupToDelete = null; }, checkedChange(subscription) {