@datarailsshared/datarailsshared 1.4.305 → 1.4.308

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.
@@ -441,9 +441,10 @@
441
441
  _this.initDateValue = null;
442
442
  return _this;
443
443
  }
444
- ForecastTagComponent.prototype.ngOnChanges = function () {
445
- this.updateLockedDate();
446
- this.chosenTagHandler();
444
+ ForecastTagComponent.prototype.ngOnChanges = function (changes) {
445
+ if (changes.lockedDate) {
446
+ this.updateLockedDate();
447
+ }
447
448
  };
448
449
  ForecastTagComponent.prototype.isNeedToIncrementYear = function (dateObj, fiscalYearStartsFrom) {
449
450
  return dateObj.month() + 1 >= fiscalYearStartsFrom;
@@ -690,8 +691,11 @@
690
691
  enumerable: false,
691
692
  configurable: true
692
693
  });
693
- QuarterTagComponent.prototype.ngOnChanges = function () {
694
- this.initTags();
694
+ QuarterTagComponent.prototype.ngOnChanges = function (changes) {
695
+ if (changes.lockedDate) {
696
+ this.initName();
697
+ this.initTags();
698
+ }
695
699
  };
696
700
  QuarterTagComponent.prototype.ngOnInit = function () {
697
701
  this.initName();