@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.
- package/bundles/datorama-core.umd.js +2 -1
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +1 -1
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/esm2015/lib/progress-bar/progress-bar.component.js +3 -2
- package/esm5/lib/progress-bar/progress-bar.component.js +3 -2
- package/fesm2015/datorama-core.js +2 -1
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +2 -1
- package/fesm5/datorama-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -24698,7 +24698,8 @@
|
|
|
24698
24698
|
this.thresholds = [33, 66];
|
|
24699
24699
|
}
|
|
24700
24700
|
DatoProgressBarComponent.prototype.ngOnInit = function () {
|
|
24701
|
-
if (!this.parts
|
|
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();
|