feat: overdue

This commit is contained in:
2025-05-10 15:27:58 +03:00
parent b5c67c6173
commit f7870e5e00

View File

@@ -51,7 +51,7 @@ const Task: FunctionComponent<TaskProps> = ({
<p class={markStyle({ checked })}></p>
</div>
{name}
{overdue && <span class="absolute top-2 right-16 text-xs text-red-500">Просрочено</span>}
{overdue && !checked && <span class="absolute top-2 right-16 text-xs text-red-500">Просрочено</span>}
</div>
</div>
);