refactor(router): rename queryParameters into queryParams

This commit is contained in:
vsavkin
2016-06-06 16:34:48 -07:00
parent 33b518ad21
commit ed50e17e5b
8 changed files with 22 additions and 22 deletions

View File

@ -67,7 +67,7 @@ export class RouterLink implements OnChanges {
if (!(typeof this.target === "string") || this.target == '_self') {
this.router.navigate(this.commands, {
relativeTo: this.route,
queryParameters: this.queryParams,
queryParams: this.queryParams,
fragment: this.fragment
});
return false;
@ -78,7 +78,7 @@ export class RouterLink implements OnChanges {
private updateTargetUrlAndHref(): void {
const tree = this.router.createUrlTree(this.commands, {
relativeTo: this.route,
queryParameters: this.queryParams,
queryParams: this.queryParams,
fragment: this.fragment
});
if (tree) {