monkey-front-core 0.0.402 → 0.0.404
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 +3 -10
- package/fesm2015/monkey-front-core.mjs +2 -9
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +2 -9
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.404.tgz +0 -0
- package/package.json +3 -3
- package/monkey-front-core-0.0.402.tgz +0 -0
|
@@ -2746,11 +2746,10 @@ class MonkeyEcxCommonsService {
|
|
|
2746
2746
|
return console.error('Method callbackPagination needs to be declared');
|
|
2747
2747
|
};
|
|
2748
2748
|
this.__isAbleToDoPagination = {};
|
|
2749
|
-
this.handleInit(
|
|
2749
|
+
this.handleInit();
|
|
2750
2750
|
}
|
|
2751
|
-
handleInit(
|
|
2751
|
+
handleInit() {
|
|
2752
2752
|
if (this.otherArgs?.router) {
|
|
2753
|
-
console.log('veio router');
|
|
2754
2753
|
const { clearOnChangeRoute } = this.otherArgs?.schedule?.options || {
|
|
2755
2754
|
clearOnChangeRoute: false
|
|
2756
2755
|
};
|
|
@@ -2761,13 +2760,7 @@ class MonkeyEcxCommonsService {
|
|
|
2761
2760
|
return !this.destroyed;
|
|
2762
2761
|
}))
|
|
2763
2762
|
.subscribe(() => {
|
|
2764
|
-
console.log('veio destruir o schedule');
|
|
2765
|
-
console.log(context);
|
|
2766
|
-
console.log(context.__schedule);
|
|
2767
|
-
console.log(this.__schedule);
|
|
2768
|
-
console.log(clearOnChangeRoute);
|
|
2769
2763
|
if (this.__schedule && clearOnChangeRoute) {
|
|
2770
|
-
console.log('destruiu o schedule');
|
|
2771
2764
|
this.otherArgs?.schedule?.service?.removeSchedule(this.__schedule);
|
|
2772
2765
|
this.__schedule = null;
|
|
2773
2766
|
}
|