Skip to content

Commit 7291ce5

Browse files
Added delete Channel snackbar
1 parent d6df71a commit 7291ce5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contentcuration/contentcuration/frontend/channelList/views/ChannelSet/StudioCollectionsTable.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,12 @@
259259
this.loadChannelSetList();
260260
this.deleteDialog = false;
261261
this.collectionToDelete = null;
262+
this.$store.dispatch('showSnackbarSimple', this.$tr('collectionDeleted'));
262263
})
263264
.catch(() => {
264265
this.deleteDialog = false;
265266
this.collectionToDelete = null;
267+
this.$store.dispatch('showSnackbarSimple', this.$tr('deleteError'));
266268
});
267269
}
268270
},
@@ -296,6 +298,8 @@
296298
edit: 'Edit collection',
297299
delete: 'Delete collection',
298300
saving: 'Saving',
301+
collectionDeleted: 'Collection deleted',
302+
deleteError: 'Error deleting collection',
299303
},
300304
};
301305

0 commit comments

Comments
 (0)