Lee-W commented on code in PR #70498:
URL: https://github.com/apache/airflow/pull/70498#discussion_r3680614244
##########
registry/src/providers.njk:
##########
@@ -63,12 +63,19 @@ mainClass: providers-page
{% set lc = provider.lifecycle or "production" %}
{% set lcDisplay = "incubation" if lc == "incubation" else ("deprecated"
if lc == "deprecated" else "stable") %}
{% set cats = providerCategoryMap[provider.id] or [] %}
+ {% set integrations = [] %}
+ {% for cat in provider.categories or [] %}
+ {% if cat.name %}
+ {% set integrations = (integrations.push(cat.name | lower),
integrations) %}
+ {% endif %}
+ {% endfor %}
<li class="provider-item"
data-lifecycle="{{ lcDisplay }}"
data-name="{{ provider.name | lower }}"
data-downloads="{{ provider.pypi_downloads.monthly }}"
data-updated="{{ provider.last_updated or '' }}"
- data-categories="{{ cats | join(',') }}">
+ data-categories="{{ cats | join(',') }}"
+ data-integrations="{{ integrations | join(',') }}">
Review Comment:
Agree it looks like a bug. Let me do it as a follow up
--
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]