Skip to content

Commit 0d95446

Browse files
author
Thomas Gilbert
committed
Update update script
1 parent 7585b6f commit 0d95446

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/catalog/updateDestinations.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,11 @@ const updateDestinations = async () => {
102102
return clonedObj;
103103
};
104104

105-
// I honestly don't remember why I did this.
106-
// I think someone wanted to mention support for the Screen method to whatever destination that is
105+
// The screen method is not returned as a method from the public API, so if a destination wants to
106+
// show screen as a supported method in `destination-dossier.html` then add the destination id here
107+
const destinationsThatSupportScreen = ['63e42b47479274407b671071', '65ccc6147108efc0cf5c6fe1']
107108
destination.supportedMethods.screen = false;
108-
if (destination.id == '63e42b47479274407b671071') {
109+
if (destinationsThatSupportScreen.includes(destination.id)) {
109110
destination.supportedMethods.screen = true;
110111
}
111112

0 commit comments

Comments
 (0)