@ecodev/natural 63.3.3 → 63.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2497,10 +2497,16 @@ class NaturalAbstractDetail extends NaturalAbstractPanel {
|
|
|
2497
2497
|
return EMPTY;
|
|
2498
2498
|
}
|
|
2499
2499
|
else {
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2500
|
+
let commands = ['../../' + kebabCase(this.key)];
|
|
2501
|
+
let extras = { relativeTo: this.route };
|
|
2502
|
+
if (redirectionRoute && 'extras' in redirectionRoute) {
|
|
2503
|
+
commands = redirectionRoute.commands;
|
|
2504
|
+
extras = { ...extras, ...redirectionRoute.extras };
|
|
2505
|
+
}
|
|
2506
|
+
else if (redirectionRoute) {
|
|
2507
|
+
commands = redirectionRoute;
|
|
2508
|
+
}
|
|
2509
|
+
return this.router.navigate(commands, extras);
|
|
2504
2510
|
}
|
|
2505
2511
|
}));
|
|
2506
2512
|
}), finalize(() => this.form.enable()))
|