Browse Source

[indexer] Remove only selected collections

Abraham Elmahrek 11 năm trước cách đây
mục cha
commit
6c5f9b0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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];
     }