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.
@@ -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
  }