monkey-front-core 0.0.399 → 0.0.400

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.
@@ -2745,9 +2745,9 @@ class MonkeyEcxCommonsService {
2745
2745
  return console.error('Method callbackPagination needs to be declared');
2746
2746
  };
2747
2747
  this.__isAbleToDoPagination = {};
2748
- this.handleInit();
2748
+ this.handleInit(this);
2749
2749
  }
2750
- handleInit() {
2750
+ handleInit(context) {
2751
2751
  if (this.otherArgs?.router) {
2752
2752
  console.log('veio router');
2753
2753
  const { clearOnChangeRoute } = this.otherArgs?.schedule?.options || {
@@ -2759,8 +2759,9 @@ class MonkeyEcxCommonsService {
2759
2759
  }), take(1))
2760
2760
  .subscribe(() => {
2761
2761
  console.log('veio destruir o schedule');
2762
+ console.log(context.__schedule);
2762
2763
  console.log(this.__schedule);
2763
- console.log(this.clear);
2764
+ console.log(clearOnChangeRoute);
2764
2765
  if (this.__schedule && clearOnChangeRoute) {
2765
2766
  console.log('destruiu o schedule');
2766
2767
  this.otherArgs?.schedule?.service?.removeSchedule(this.__schedule);