fix(upgrade): propagate return value of resumeBootstrap (#22754)
Fixes #22723 PR Close #22754
This commit is contained in:

committed by
Alex Rickabaugh

parent
ff34d5ea7a
commit
a2330ff2db
@ -389,8 +389,9 @@ export class UpgradeAdapter {
|
||||
const originalResumeBootstrap: () => void = windowAngular.resumeBootstrap;
|
||||
windowAngular.resumeBootstrap = function() {
|
||||
windowAngular.resumeBootstrap = originalResumeBootstrap;
|
||||
windowAngular.resumeBootstrap.apply(this, arguments);
|
||||
const r = windowAngular.resumeBootstrap.apply(this, arguments);
|
||||
resolve();
|
||||
return r;
|
||||
};
|
||||
} else {
|
||||
resolve();
|
||||
|
Reference in New Issue
Block a user