Aaryan123456679 commented on code in PR #70861:
URL: https://github.com/apache/airflow/pull/70861#discussion_r4066136425


##########
airflow-core/src/airflow/ui/src/constants/filterConfigs.tsx:
##########
@@ -66,6 +66,7 @@ export const useFilterConfigs = () => {
   const { data: teamsData } = useTeamsServiceListTeams({ orderBy: ["name"] }, 
undefined, {
     enabled: multiTeamEnabled,
   });
+  const { data: tagsData } = useDagServiceGetDagTags({ orderBy: ["name"] });

Review Comment:
   Dropped this query rather than gating it. The Tags filter now reuses main's 
TagsFilter (added since this PR was opened), which is registered as an 
EditorComponent, so the tag query only runs while the pill is mounted and not 
on every FilterBar page. filterConfigs.tsx no longer differs from main.



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