You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/28 16:03:38 UTC

[GitHub] [airflow] ashb commented on a diff in pull request #23329: Improve react www tests

ashb commented on code in PR #23329:
URL: https://github.com/apache/airflow/pull/23329#discussion_r861069790


##########
airflow/www/static/js/tree/api/useTreeData.js:
##########
@@ -29,24 +29,30 @@ import useErrorToast from '../useErrorToast';
 
 // dagId comes from dag.html
 const dagId = getMetaValue('dag_id');
-const treeDataUrl = getMetaValue('tree_data_url');
+const treeDataUrl = getMetaValue('tree_data_url') || '';

Review Comment:
   This is so treeDataUrl is a string rather than undefined?



-- 
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@airflow.apache.org

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