Skip to content

Commit dd2bfda

Browse files
committed
check for browser unbundling
1 parent a47f265 commit dd2bfda

File tree

6 files changed

+103
-309
lines changed

6 files changed

+103
-309
lines changed

scripts/catalog.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,13 @@ const getConnectionModes = (destination) => {
8282
}
8383
break
8484
case 'CLOUD':
85-
connectionModes.cloud.mobile = true
85+
if (destination.platforms.mobile){
86+
connectionModes.cloud.mobile = true
87+
}
8688
if (destination.platforms.server) {
8789
connectionModes.cloud.server = true
8890
}
89-
if (destination.platforms.browser) {
91+
if (destination.platforms.browser && destination.browserUnbundlingPublic) {
9092
connectionModes.cloud.web = true
9193
}
9294
break

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PLATFORM API. DO NOT EDIT
2-
# destination categories last updated 2021-04-23
2+
# destination categories last updated 2021-04-27
33
items:
44
- display_name: Email Marketing
55
slug: email-marketing

0 commit comments

Comments
 (0)