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) {