@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.
@@ -24499,7 +24499,8 @@ var DatoProgressBarComponent = /** @class */ (function () {
24499
24499
  this.thresholds = [33, 66];
24500
24500
  }
24501
24501
  DatoProgressBarComponent.prototype.ngOnInit = function () {
24502
- if (!this.parts && this.percent) {
24502
+ if (!this.parts) {
24503
+ this.percent = this.percent || 0;
24503
24504
  this.isByPercent = true;
24504
24505
  this.hasInitialColor = !!this.color;
24505
24506
  this.initSinglePart();