fix: progress polygon when progress = 0

This commit is contained in:
Safwan Samsudeen 2024-04-04 17:16:02 +05:30
parent 6e2f91db25
commit 218818619c

View File

@ -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',