File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -102,10 +102,11 @@ const updateDestinations = async () => {
102
102
return clonedObj ;
103
103
} ;
104
104
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' ]
107
108
destination . supportedMethods . screen = false ;
108
- if ( destination . id == '63e42b47479274407b671071' ) {
109
+ if ( destinationsThatSupportScreen . includes ( destination . id ) ) {
109
110
destination . supportedMethods . screen = true ;
110
111
}
111
112
You can’t perform that action at this time.
0 commit comments