trailhead promo
This commit is contained in:
parent
2682aec90d
commit
d3e9bb09df
3 changed files with 6 additions and 11 deletions
|
@ -8,9 +8,7 @@ function banner(state) {
|
|||
return; // server side
|
||||
}
|
||||
const show =
|
||||
!state.capabilities.standalone &&
|
||||
!/firefox/i.test(navigator.userAgent) &&
|
||||
!state.route.startsWith('/unsupported/');
|
||||
!state.capabilities.standalone && !state.route.startsWith('/unsupported/');
|
||||
if (show) {
|
||||
return state.cache(Promo, 'promo').render();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue