You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2022/09/28 06:15:30 UTC

[incubator-devlake] branch main updated: fix(config-ui): adjust the transform rule button text 'Go Back' to 'Finish', and remove the tooltip for button

This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new f874f232 fix(config-ui): adjust the transform rule button text 'Go Back' to 'Finish', and remove the tooltip for button
f874f232 is described below

commit f874f23243a61254eb51f7a0dafc3c2741fc9a17
Author: mintsweet <0x...@gmail.com>
AuthorDate: Mon Sep 26 13:59:46 2022 +0800

    fix(config-ui): adjust the transform rule button text 'Go Back' to 'Finish', and remove the tooltip for button
---
 .../create-workflow/DataTransformations.jsx          | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/config-ui/src/components/blueprints/create-workflow/DataTransformations.jsx b/config-ui/src/components/blueprints/create-workflow/DataTransformations.jsx
index 8e1c35ee..1c5e110d 100644
--- a/config-ui/src/components/blueprints/create-workflow/DataTransformations.jsx
+++ b/config-ui/src/components/blueprints/create-workflow/DataTransformations.jsx
@@ -439,20 +439,14 @@ const DataTransformations = (props) => {
                       >
                         {enableGoBack &&
                           (configuredProject || configuredBoard) && (
-                            <Tooltip
-                              position={Position.TOP}
+                            <Button
+                              text='Finish'
                               intent={Intent.PRIMARY}
-                              content='Close Editor to Continue'
-                            >
-                              <Button
-                                text='Go Back'
-                                intent={Intent.PRIMARY}
-                                small
-                                outlined
-                                onClick={() => onSave()}
-                                style={{ marginLeft: '5px' }}
-                              />
-                            </Tooltip>
+                              small
+                              outlined
+                              onClick={() => onSave()}
+                              style={{ marginLeft: '5px' }}
+                            />
                           )}
                       </div>
                     </div>