Эх сурвалжийг харах

[indexer] Remove only selected collections

Abraham Elmahrek 11 жил өмнө
parent
commit
6c5f9b06a6

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

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