Bläddra i källkod

[indexer] Remove only selected collections

Abraham Elmahrek 11 år sedan
förälder
incheckning
6c5f9b0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      desktop/libs/indexer/static/js/collections.js

+ 1 - 1
desktop/libs/indexer/static/js/collections.js

@@ -450,7 +450,7 @@ var ManageCollectionsViewModel = function() {
 
   self.removeCollections = function(collection) {
     self.isLoading(true);
-    var collections = self.filteredCollections();
+    var collections = self.selectedCollections();
     if (collections.length == 0) {
       collections = ($.isArray(collection)) ? collection : [collection];
     }