From 03eccfff1f0764910caa2d5060f11173aaf02592 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Tue, 6 Apr 2021 00:02:58 +0200 Subject: [PATCH] oops --- svelte-ui/src/components/Progress.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;