monkey-front-core 0.0.395 → 0.0.397
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/lib/core/services/commons/monkeyecx-commons.service.mjs +5 -1
- package/fesm2015/monkey-front-core.mjs +4 -0
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +4 -0
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.397.tgz +0 -0
- package/package.json +3 -3
- package/monkey-front-core-0.0.395.tgz +0 -0
|
@@ -2749,15 +2749,19 @@ class MonkeyEcxCommonsService {
|
|
|
2749
2749
|
}
|
|
2750
2750
|
handleInit() {
|
|
2751
2751
|
if (this.otherArgs?.router) {
|
|
2752
|
+
console.log('veio router');
|
|
2752
2753
|
const { clearOnChangeRoute } = this.otherArgs?.schedule?.options || {
|
|
2753
2754
|
clearOnChangeRoute: false
|
|
2754
2755
|
};
|
|
2756
|
+
console.log('clearOnChangeRoute');
|
|
2757
|
+
console.log(clearOnChangeRoute);
|
|
2755
2758
|
this.otherArgs.router.events
|
|
2756
2759
|
.pipe(filter((event) => {
|
|
2757
2760
|
return event instanceof NavigationStart;
|
|
2758
2761
|
}), take(1))
|
|
2759
2762
|
.subscribe(() => {
|
|
2760
2763
|
if (this.__schedule && clearOnChangeRoute) {
|
|
2764
|
+
console.log('veio destruir o schedule');
|
|
2761
2765
|
this.otherArgs?.schedule?.service?.removeSchedule(this.__schedule);
|
|
2762
2766
|
this.__schedule = null;
|
|
2763
2767
|
}
|