Browse Source

fix can not drop mulitple collections at once (#376)

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
ryjiang 1 year ago
parent
commit
33e7bc82c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/src/pages/collections/Collections.tsx

+ 1 - 1
client/src/pages/collections/Collections.tsx

@@ -485,7 +485,7 @@ const Collections = () => {
       label: btnTrans('drop'),
       label: btnTrans('drop'),
       // tooltip: collectionTrans('deleteTooltip'),
       // tooltip: collectionTrans('deleteTooltip'),
       disabledTooltip: collectionTrans('deleteTooltip'),
       disabledTooltip: collectionTrans('deleteTooltip'),
-      disabled: data => data.length !== 1,
+      disabled: data => data.length < 1,
     },
     },
 
 
     {
     {