fix(AutogenPanel): показываем topic_count_free вместо queue_count

'21 статей · 0 в очереди' → '21 статей · 20 тем свободно'
Более полезная информация — сколько тем осталось в банке.
This commit is contained in:
Aleksei Pavlov
2026-06-21 21:08:30 +03:00
parent c7e9196370
commit acc5c63b0a
+1 -1
View File
@@ -220,7 +220,7 @@ export default function AutogenPanel({ status, queue, topics, categories = [] })
<span className="text-2xl">{cat.icon}</span> <span className="text-2xl">{cat.icon}</span>
<div> <div>
<div className="font-semibold text-sm">{cat.name}</div> <div className="font-semibold text-sm">{cat.name}</div>
<div className="text-xs opacity-70">{s.article_count || 0} статей · {s.queue_count || 0} в очереди</div> <div className="text-xs opacity-70">{s.article_count || 0} статей · {s.topic_count_free ?? s.topic_count ?? 0} тем свободно</div>
</div> </div>
</div> </div>
<button <button