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