Browse Source

fix create partition dialog can not be closed

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
ruiyi.jiang 2 năm trước cách đây
mục cha
commit
48050a7e36
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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