mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-12-05 21:01:50 +08:00
fix(tasks): serialize no-result decisions with finding writes
This commit is contained in:
1 parent
8e030b1fbd
commit
3306e547b2
11 files changed
+369
-37
No files matched your search
@@ -1120,7 +1120,13 @@ export default function DashboardPage() {
|
||||
</Link>
|
||||
</td>
|
||||
<td className="px-4 py-3">
|
||||
<StatusBadge domain="task" value={t.status} dot className="px-1.5 py-0 text-[10px]" />
|
||||
<StatusBadge
|
||||
domain="task"
|
||||
value={t.status}
|
||||
stopReason={t.stop_reason}
|
||||
dot
|
||||
className="px-1.5 py-0 text-[10px]"
|
||||
/>
|
||||
</td>
|
||||
<td className="px-4 py-3">
|
||||
<StatusBadge
|
||||
|
||||
@@ -1167,7 +1167,14 @@ export default function FindingsPage() {
|
||||
</div>
|
||||
</button>
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
{group.task_status && <StatusBadge domain="task" value={group.task_status} dot />}
|
||||
{group.task_status && (
|
||||
<StatusBadge
|
||||
domain="task"
|
||||
value={group.task_status}
|
||||
stopReason={group.task_stop_reason}
|
||||
dot
|
||||
/>
|
||||
)}
|
||||
{SEVERITIES.map((level) => {
|
||||
const count = group[level];
|
||||
if (count === 0) return null;
|
||||
|
||||
Reference in new issue
Block a user