@datorama/core 22.0.4-rc.2 → 22.0.4-rc.3

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.
@@ -24698,7 +24698,8 @@
24698
24698
  this.thresholds = [33, 66];
24699
24699
  }
24700
24700
  DatoProgressBarComponent.prototype.ngOnInit = function () {
24701
- if (!this.parts && this.percent) {
24701
+ if (!this.parts) {
24702
+ this.percent = this.percent || 0;
24702
24703
  this.isByPercent = true;
24703
24704
  this.hasInitialColor = !!this.color;
24704
24705
  this.initSinglePart();