uranusjr commented on code in PR #41390:
URL: https://github.com/apache/airflow/pull/41390#discussion_r1713563760


##########
airflow/www/views.py:
##########
@@ -844,7 +844,7 @@ def index(self):
 
         with create_session() as session:
             # read orm_dags from the db
-            dags_query = select(DagModel).where(~DagModel.is_subdag, 
DagModel.is_active)
+            dags_query = select(DagModel).where(DagModel.is_active)

Review Comment:
   This combined with the model change means all previously subDAGs will not 
show up in the index page as normal DAGs. Should we provide a way for users to 
remove all those subDAGs?



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