fix(RouterLink): ignore optional parameters when checking for active routes
fixes #6459 Closes #7834
This commit is contained in:
@ -259,7 +259,7 @@ export function main() {
|
||||
|
||||
async.done();
|
||||
});
|
||||
router.navigateByUrl('/better-child');
|
||||
router.navigateByUrl('/better-child?extra=0');
|
||||
});
|
||||
}));
|
||||
|
||||
@ -300,7 +300,7 @@ export function main() {
|
||||
|
||||
async.done();
|
||||
});
|
||||
router.navigateByUrl('/child-with-grandchild/grandchild');
|
||||
router.navigateByUrl('/child-with-grandchild/grandchild?extra=0');
|
||||
});
|
||||
}));
|
||||
|
||||
|
Reference in New Issue
Block a user