Skip to content

Commit 01875df

Browse files
authored
Merge pull request #307 from segmentio/repo-sync
repo sync
2 parents ac58c53 + d6ff681 commit 01875df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/_includes/components/actions-fields.html

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11

22
{% 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 %}
37
{% assign currentIntegration = site.data.catalog.destinations.items | where: "slug", currentSlug | first %}
8+
{% endif %}
49
{% assign conn = include.settings %}
510

611
{% assign connectionModes = currentIntegration.connection_modes %}

0 commit comments

Comments
 (0)