瀏覽代碼

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