diff --git a/svelte-ui/src/components/Progress.svelte b/svelte-ui/src/components/Progress.svelte index 07f6ef6..5794f72 100644 --- a/svelte-ui/src/components/Progress.svelte +++ b/svelte-ui/src/components/Progress.svelte @@ -28,7 +28,7 @@ let title = ""; $: { - if (count > 0 && target > 0) { + if (target > 0) { let level = Math.floor(count / target); if (level >= COLORS.length - 1 || (level > 1 && green)) { offs = 0;