You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ry...@apache.org on 2020/11/17 20:52:12 UTC

[airflow] branch master updated: Don't display when None (#12415)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new a80a320  Don't display when None (#12415)
a80a320 is described below

commit a80a320ab9e34fb8cc9fdf2ae5016f5608c8be11
Author: Ryan Hamilton <ry...@ryanahamilton.com>
AuthorDate: Tue Nov 17 15:51:15 2020 -0500

    Don't display when None (#12415)
---
 airflow/www/templates/appbuilder/dag_docs.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/www/templates/appbuilder/dag_docs.html b/airflow/www/templates/appbuilder/dag_docs.html
index 136e66c..3dcf2b3 100644
--- a/airflow/www/templates/appbuilder/dag_docs.html
+++ b/airflow/www/templates/appbuilder/dag_docs.html
@@ -18,7 +18,7 @@
 #}
 
 {% macro dag_docs(doc_md) %}
-  {% if doc_md is defined %}
+  {% if doc_md is defined and doc_md is not none %}
     <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true" style="margin-top: 16px;">
       <div class="panel panel-default">
         <div class="panel-heading" role="tab" id="headingOne">