You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2023/01/04 11:31:01 UTC

[GitHub] [inlong] leezng commented on a diff in pull request #7145: [INLONG-7139][Dashboard] Cluster and node support for connectivity testing

leezng commented on code in PR #7145:
URL: https://github.com/apache/inlong/pull/7145#discussion_r1061388933


##########
inlong-dashboard/src/pages/Clusters/CreateModal.tsx:
##########
@@ -101,7 +121,17 @@ const Comp: React.FC<Props> = ({ id, defaultType, ...modalProps }) => {
     <Modal
       {...modalProps}
       title={id ? i18n.t('pages.Clusters.Edit') : i18n.t('pages.Clusters.Create')}
-      onOk={onOk}
+      footer={[
+        <Button onClick={modalProps.onCancel}>{i18n.t('basic.Cancel')}</Button>,

Review Comment:
   May be should add key?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org