@the-liberators/ngx-scrumteamsurvey-tools 2.3.97 → 2.3.98

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.
@@ -4572,11 +4572,11 @@ class DeltaArrowComponent {
4572
4572
  var deltaDateRangeTo = this.datePipe.transform(this.delta.dateRange.to, 'longDate');
4573
4573
  this.comparedTo = "the previous period (" + deltaDateRangeFrom + " to " + deltaDateRangeTo + ")";
4574
4574
  }
4575
- if (this.factorScore.delta > 0) {
4576
- this.direction = this.factorScore.qualification == QualificationEnum.positive ? "up" : "down";
4575
+ if (this.factorScore.qualification == QualificationEnum.positive) {
4576
+ this.direction = "up";
4577
4577
  }
4578
- else if (this.factorScore.delta < 0) {
4579
- this.direction = this.factorScore.qualification == QualificationEnum.positive ? "down" : "up";
4578
+ else if (this.factorScore.qualification == QualificationEnum.negative) {
4579
+ this.direction = "down";
4580
4580
  }
4581
4581
  else {
4582
4582
  this.direction = "same";