@sumaris-net/ngx-components 2.4.23-rc4 → 2.4.23-rc6
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.
- package/esm2020/src/app/shared/shared-routing.module.mjs +4 -4
- package/fesm2015/sumaris-net.ngx-components.mjs +3 -3
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +3 -3
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -19695,9 +19695,9 @@ class CustomReuseStrategy extends IonicRouteStrategy {
|
|
|
19695
19695
|
* @param curr
|
|
19696
19696
|
*/
|
|
19697
19697
|
shouldReuseRoute(future, curr) {
|
|
19698
|
-
const
|
|
19698
|
+
const reuse = super.shouldReuseRoute(future, curr);
|
|
19699
19699
|
// Is sam route config
|
|
19700
|
-
if (!
|
|
19700
|
+
if (!reuse && future.routeConfig && future.routeConfig === curr.routeConfig) {
|
|
19701
19701
|
// Read the parameter name, where id is stored
|
|
19702
19702
|
const pathIdParam = future.routeConfig.data && future.routeConfig.data.pathIdParam || 'id';
|
|
19703
19703
|
// Read the current route id
|
|
@@ -19718,7 +19718,7 @@ class CustomReuseStrategy extends IonicRouteStrategy {
|
|
|
19718
19718
|
return futureId !== 'new' && futureId === currId;
|
|
19719
19719
|
}
|
|
19720
19720
|
}
|
|
19721
|
-
return
|
|
19721
|
+
return reuse;
|
|
19722
19722
|
}
|
|
19723
19723
|
}
|
|
19724
19724
|
CustomReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CustomReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|