File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/planet/src/application Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -440,18 +440,18 @@ export class PlanetApplicationLoader {
440
440
debug ( `${ app . name } start preloading` ) ;
441
441
return this . startLoadAppAssets ( app ) . pipe (
442
442
switchMap ( ( ) => {
443
- return this . ngZone . runOutsideAngular ( ( ) => {
444
- if ( directBootstrap ) {
445
- return this . bootstrapApp ( app , 'hidden' ) ;
446
- } else {
443
+ if ( directBootstrap ) {
444
+ return this . bootstrapApp ( app , 'hidden' ) ;
445
+ } else {
446
+ return this . ngZone . runOutsideAngular ( ( ) => {
447
447
return this . takeOneStable ( ) . pipe (
448
448
switchMap ( ( ) => {
449
449
debug ( `${ app . name } start bootstrap on stable` ) ;
450
450
return this . bootstrapApp ( app , 'hidden' ) ;
451
451
} )
452
452
) ;
453
- }
454
- } ) ;
453
+ } ) ;
454
+ }
455
455
} ) ,
456
456
map ( ( ) => {
457
457
return getPlanetApplicationRef ( app . name ) ;
You can’t perform that action at this time.
0 commit comments