Forráskód Böngészése

fix create partition dialog can not be closed

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
ruiyi.jiang 2 éve
szülő
commit
48050a7e36
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      client/src/pages/dialogs/CreatePartitionDialog.tsx

+ 3 - 1
client/src/pages/dialogs/CreatePartitionDialog.tsx

@@ -71,7 +71,9 @@ const CreatePartition: FC<PartitionCreateProps> = ({
     handleCloseDialog();
   };
 
-  const handleClose = () => {};
+  const handleClose = () => {
+    handleCloseDialog();
+  };
 
   return (
     <DialogTemplate