Merge "Add route for excluding language suggestions"

This commit is contained in:
jenkins-bot 2020-08-26 19:36:53 +00:00 committed by Gerrit Code Review
commit 08e6b5e938

View file

@ -135,7 +135,10 @@ module.exports = function () {
// to that hook. See GrowthExperiments WelcomeSurvey feature (in gerrit
// Ib558dc7c46cc56ff667957f9126bbe0471d25b8e for example usage).
overlayManager.add( /^\/languages\/all$/, function () {
return mobile.languageInfoOverlay( new LanguageInfo( api ) );
return mobile.languageInfoOverlay( new LanguageInfo( api ), true );
} );
overlayManager.add( /^\/languages\/all\/no-suggestions$/, function () {
return mobile.languageInfoOverlay( new LanguageInfo( api ), false );
} );
// Setup