fix(angular): save internal data

fixes #14888
fixes #14885
fixes #15054
fixes #15050
This commit is contained in:
Manu Mtz.-Almeida
2018-08-16 15:47:40 +02:00
parent fef751d718
commit f84bb76481
5 changed files with 67 additions and 54 deletions

View File

@ -62,6 +62,9 @@ export function matches(view: ViewController | undefined, id: string, params: Co
const currentParams = view.params;
const null1 = (currentParams == null);
const null2 = (params == null);
if (currentParams === params) {
return true;
}
if (null1 !== null2) {
return false;
}