Commit e67773d 1 parent cd721d4 commit e67773d Copy full SHA for e67773d
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export class UpdateFooterStep {
16
16
function _findFooterModules ( instruction ) {
17
17
let footers = [ ] ;
18
18
footers . push ( instruction . config . footer ) ;
19
- let childInstruction = instruction . plan . default . childNavigationInstruction ;
19
+ let childInstruction = instruction . plan . default ? instruction . plan . default . childNavigationInstruction : null ;
20
20
while ( childInstruction ) {
21
21
let footerModule = childInstruction . config . footer ;
22
22
if ( footerModule ) {
@@ -26,7 +26,7 @@ function _findFooterModules(instruction) {
26
26
activationParam : activationParam ,
27
27
} ) ;
28
28
}
29
- childInstruction = childInstruction . plan . default . childNavigationInstruction ;
29
+ childInstruction = childInstruction . plan . default ? childInstruction . plan . default . childNavigationInstruction : null ;
30
30
}
31
31
32
32
return footers ;
You can’t perform that action at this time.
0 commit comments