@smarterplan/ngx-smarterplan-core 1.2.19 → 1.2.21

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.
@@ -2695,7 +2695,8 @@ class MatterportService {
2695
2695
  // (we are about to validate, but it exists in sdk already)
2696
2696
  this.enable_following_tag(this.mattertagToFollow);
2697
2697
  }
2698
- if (!!this.getCursorPositionButton && !!this.getCursorPositionButton.style(document.URL.indexOf('https://dev.smarterplan.io') !== -1 || document.location.href.indexOf('localhost') !== -1)) {
2698
+ if (!!this.getCursorPositionButton && !!this.getCursorPositionButton.style &&
2699
+ (document.URL.indexOf('https://dev.smarterplan.io') !== -1 || document.location.href.indexOf('localhost') !== -1)) {
2699
2700
  this.getCursorPositionButton.style.display = 'none';
2700
2701
  this.cursorPositionButtonDisplayed = false;
2701
2702
  }
@@ -6623,7 +6624,8 @@ class TicketsService extends BaseObjectService {
6623
6624
  });
6624
6625
  ticketsFiltered =
6625
6626
  await this.filterService.filterTicketsForCurrentUserInSpace(ticketsFiltered, this.currentSpaceID);
6626
- if (this.dateFilter) {
6627
+ // @ts-ignore
6628
+ if (this.dateFilter && this.dateFilter[0] != "Invalid Date" && this.dateFilter[1] != "Invalid Date") {
6627
6629
  ticketsFiltered = this.filterService.filterObjectsForDateRange(ticketsFiltered, this.dateFilter);
6628
6630
  }
6629
6631
  if (this.ticketTypeFilter) {