Fixed status circle checkmark for completed tasks
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m1s

This commit is contained in:
2026-03-23 10:05:56 -05:00
parent 55d161af25
commit de8cea7d2e
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ interface StatusCircleProps {
size?: number;
className?: string;
recurrenceProgress?: number | null;
completed?: boolean;
}
export const StatusCircle: Component<StatusCircleProps> = (props) => {
@@ -36,7 +37,7 @@ export const StatusCircle: Component<StatusCircleProps> = (props) => {
return (
<div class={cn("relative flex items-center justify-center", props.className)} style={{ width: `${size()}px`, height: `${size()}px` }}>
{props.status >= 10 ? (
{props.completed || props.status >= 10 ? (
props.recurrenceProgress != null ? (
<svg width={size()} height={size()}>
<For each={Array.from({ length: dotCount() })}>