update promo to be for the vpn
This commit is contained in:
parent
deec85be14
commit
2a3db78f97
3 changed files with 8 additions and 5 deletions
|
@ -8,7 +8,9 @@ function banner(state) {
|
|||
return; // server side
|
||||
}
|
||||
const show =
|
||||
!state.capabilities.standalone && !state.route.startsWith('/unsupported/');
|
||||
!state.capabilities.standalone &&
|
||||
!state.route.startsWith('/unsupported/') &&
|
||||
state.locale === 'en-US';
|
||||
if (show) {
|
||||
return state.cache(Promo, 'promo').render();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue