Condition using component as well.

Closes #7755
This commit is contained in:
William Welling 2016-03-24 10:29:49 -05:00 committed by Misko Hevery
parent 166b73f4f3
commit 9019c6f937
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ export abstract class Instruction {
/** @internal */
_stringifyPathMatrixAux(): string {
if (isBlank(this.urlPath)) {
if (isBlank(this.component) && isBlank(this.urlPath)) {
return '';
}
return this.urlPath + this._stringifyMatrixParams() + this._stringifyAux();