فهرست منبع

fix create partition dialog can not be closed

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
ruiyi.jiang 2 سال پیش
والد
کامیت
48050a7e36
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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