Loading src/components/JamaActionsToolbar.vue +2 −2 Original line number Diff line number Diff line Loading @@ -182,11 +182,11 @@ export default { deleteSelection(){ this.$jamaConfirm(this.$t('delete_confirm'), (res) => { if(res){ this.selectedCollections.filter((c) => c.selected).forEach((c) => { this.selectedCollections.forEach((c) => { this.$store.dispatch('deleteCollection', {collectionId : c.id, recursive : true}); this.$store.commit('setSelectedCollections', []) }); this.selectedResources.filter((r) => r.selected).forEach((r) => { this.selectedResources.forEach((r) => { this.$store.dispatch('deleteResource', r.id); this.$store.commit('setSelectedResources', []) }); Loading Loading
src/components/JamaActionsToolbar.vue +2 −2 Original line number Diff line number Diff line Loading @@ -182,11 +182,11 @@ export default { deleteSelection(){ this.$jamaConfirm(this.$t('delete_confirm'), (res) => { if(res){ this.selectedCollections.filter((c) => c.selected).forEach((c) => { this.selectedCollections.forEach((c) => { this.$store.dispatch('deleteCollection', {collectionId : c.id, recursive : true}); this.$store.commit('setSelectedCollections', []) }); this.selectedResources.filter((r) => r.selected).forEach((r) => { this.selectedResources.forEach((r) => { this.$store.dispatch('deleteResource', r.id); this.$store.commit('setSelectedResources', []) }); Loading