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 {
440440 debug ( `${ app . name } start preloading` ) ;
441441 return this . startLoadAppAssets ( app ) . pipe (
442442 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 ( ( ) => {
447447 return this . takeOneStable ( ) . pipe (
448448 switchMap ( ( ) => {
449449 debug ( `${ app . name } start bootstrap on stable` ) ;
450450 return this . bootstrapApp ( app , 'hidden' ) ;
451451 } )
452452 ) ;
453- }
454- } ) ;
453+ } ) ;
454+ }
455455 } ) ,
456456 map ( ( ) => {
457457 return getPlanetApplicationRef ( app . name ) ;
You can’t perform that action at this time.
0 commit comments