From 218818619c974ca8f2f29bed2d7c2e95da516834 Mon Sep 17 00:00:00 2001 From: Safwan Samsudeen Date: Thu, 4 Apr 2024 17:16:02 +0530 Subject: [PATCH] fix: progress polygon when progress = 0 --- src/bar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bar.js b/src/bar.js index 790fd2c..41fbc1f 100644 --- a/src/bar.js +++ b/src/bar.js @@ -174,7 +174,7 @@ export default class Bar { append_to: this.handle_group, }); - if (this.task.progress && this.task.progress < 100) { + if (this.task.progress < 100) { this.$handle_progress = createSVG('polygon', { points: this.get_progress_polygon_points().join(','), class: 'handle progress',