bbovenzi commented on code in PR #40639:
URL: https://github.com/apache/airflow/pull/40639#discussion_r1668671004


##########
airflow/www/static/js/dag/details/taskInstance/Details.tsx:
##########
@@ -335,11 +351,49 @@ const Details = ({ gridInstance, taskInstance, group }: 
Props) => {
                       // skip
                     }
                   }
+                  const fieldStr = field as string;
+                  try {
+                    const fieldJson = JSON.parse(fieldStr);
+                    return (

Review Comment:
   This is a lot of logic now. How about we make a separate `RenderedFields` 
component and handle all of this logic there?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to