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 2022/11/16 02:17:59 UTC

[GitHub] [inlong] bluewang commented on a diff in pull request #6546: [INLONG-6542][Dashboard] Optimize stream execution workflow and execution log

bluewang commented on code in PR #6546:
URL: https://github.com/apache/inlong/pull/6546#discussion_r1023437534


##########
inlong-dashboard/src/pages/GroupDetail/DataStream/index.tsx:
##########
@@ -178,11 +184,14 @@ const Comp = ({ inlongGroupId, readonly, mqType }: Props, ref) => {
             <Button type="link" onClick={() => onDelete(record)}>
               {t('basic.Delete')}
             </Button>
-            {record?.status && (record?.status === 120 || record?.status === 130) && (
-              <Button type="link" onClick={() => onWorkflow(record)}>
-                {t('meta.Stream.ExecuteWorkflow')}
-              </Button>
-            )}
+            {record?.status &&
+              ((groupStatus === 130 && record?.status === 100) ||
+                groupStatus === 120 ||
+                groupStatus === 130) && (

Review Comment:
   An error occurs when mergingļ¼š
   ![image](https://user-images.githubusercontent.com/88174078/202067349-1dae09db-3a2c-406c-b177-dcdc1dc07dab.png)
   



-- 
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