Skip to content

Commit b0f6515

Browse files
committed
Merge branch 'next' of github.com:devforth/adminforth into next
2 parents 4b0aace + 4c8e17b commit b0f6515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/src/afcl/ProgressBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const props = withDefaults(defineProps<Props>(), {
4242
const percentage = computed((): number => {
4343
const min = props.minValue
4444
const max = props.maxValue
45-
return Math.round(((props.currentValue - min) / (max - min)) * 100)
45+
return Math.floor(((props.currentValue - min) / (max - min)) * 1000) / 10
4646
})
4747
4848
const progressText = computed((): string => {

0 commit comments

Comments
 (0)