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

jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 9f9ae33a8b Revert CodeCell formatting changes (#38343)
9f9ae33a8b is described below

commit 9f9ae33a8bf69683b0e576ba35bd3450861a8cdf
Author: Brent Bovenzi <[email protected]>
AuthorDate: Wed Mar 20 13:27:08 2024 -0700

    Revert CodeCell formatting changes (#38343)
---
 airflow/www/static/js/components/NewTable/NewCells.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/airflow/www/static/js/components/NewTable/NewCells.tsx 
b/airflow/www/static/js/components/NewTable/NewCells.tsx
index e3b097ff31..9be1b88741 100644
--- a/airflow/www/static/js/components/NewTable/NewCells.tsx
+++ b/airflow/www/static/js/components/NewTable/NewCells.tsx
@@ -29,6 +29,5 @@ export const TimeCell = ({ getValue }: any) => {
 
 export const CodeCell = ({ getValue }: any) => {
   const value = getValue();
-  const code = typeof value === "string" ? JSON.parse(value) : value;
-  return code ? <Code>{JSON.stringify(code)}</Code> : null;
+  return value ? <Code>{value}</Code> : null;
 };

Reply via email to