From 166b73f4f36b4c11a6f88eccc045bcfd3fba9774 Mon Sep 17 00:00:00 2001 From: William Welling Date: Thu, 24 Mar 2016 08:42:14 -0500 Subject: [PATCH] Condition using urlPath, component is null on UnresolvedException of child AsyncRoute. --- modules/@angular/router-deprecated/src/instruction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@angular/router-deprecated/src/instruction.ts b/modules/@angular/router-deprecated/src/instruction.ts index 7496b7e085..0927be263d 100644 --- a/modules/@angular/router-deprecated/src/instruction.ts +++ b/modules/@angular/router-deprecated/src/instruction.ts @@ -189,7 +189,7 @@ export abstract class Instruction { /** @internal */ _stringifyPathMatrixAux(): string { - if (isBlank(this.component)) { + if (isBlank(this.urlPath)) { return ''; } return this.urlPath + this._stringifyMatrixParams() + this._stringifyAux();