monkey-style-guide-v2 0.0.92 → 0.0.94
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.
|
@@ -4506,7 +4506,7 @@ class MonkeyDownloadButtonComponent {
|
|
|
4506
4506
|
this._id = value || this._uid;
|
|
4507
4507
|
}
|
|
4508
4508
|
get safeProgress() {
|
|
4509
|
-
return Math.min(Math.max(this.progress,
|
|
4509
|
+
return Math.min(Math.max(this.progress, 1), 100);
|
|
4510
4510
|
}
|
|
4511
4511
|
get hasProgress() {
|
|
4512
4512
|
return typeof this.progress === 'number' && this.progress > 0;
|