(nobug) - Ignore whatsnew when rendering snippets (#5169)
This commit is contained in:
Родитель
2e51ec4b49
Коммит
096404379f
|
@ -269,9 +269,12 @@ export class ASRouterUISurface extends React.PureComponent {
|
|||
renderSnippets() {
|
||||
if (
|
||||
this.state.bundle.template === "onboarding" ||
|
||||
this.state.message.template === "fxa_overlay" ||
|
||||
this.state.message.template === "return_to_amo_overlay" ||
|
||||
this.state.message.template === "trailhead"
|
||||
[
|
||||
"fxa_overlay",
|
||||
"return_to_amo_overlay",
|
||||
"trailhead",
|
||||
"whatsnew_panel_message",
|
||||
].includes(this.state.message.template)
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче