Commit cd3f95f0 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

debug suppression sélection.

parent e3581d42
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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', [])
          });