mirror of
https://github.com/coaidev/coai.git
synced 2025-05-22 22:40:14 +09:00
update
This commit is contained in:
parent
1d6bfb67c1
commit
4d3492df0b
@ -34,7 +34,7 @@ function GenerateProgress({ current, total }: ProgressProps) {
|
||||
<p
|
||||
className={`select-none mt-4 mb-2.5 flex flex-row items-center content-center mx-auto w-max`}
|
||||
>
|
||||
{current === total ? (
|
||||
{(total !== 0 && current === total) ? (
|
||||
<>
|
||||
<Check className={`h-5 w-5 mr-2 inline-block animate-out`} />
|
||||
{t("article.generate-success")}
|
||||
|
Loading…
Reference in New Issue
Block a user