We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ac58c53 + d6ff681 commit 01875dfCopy full SHA for 01875df
src/_includes/components/actions-fields.html
@@ -1,6 +1,11 @@
1
2
{% assign currentSlug = page.url | split: "/" | last %}
3
+{% assign currentId = page.id %}
4
+{% if page.id %}
5
+{% assign currentIntegration = site.data.catalog.destinations.items | where: "id", currentId | first %}
6
+{% else %}
7
{% assign currentIntegration = site.data.catalog.destinations.items | where: "slug", currentSlug | first %}
8
+{% endif %}
9
{% assign conn = include.settings %}
10
11
{% assign connectionModes = currentIntegration.connection_modes %}
0 commit comments