Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0bc724eee | ||
|
|
e6883f99a4 | ||
|
|
e7b48ba5d9 |
@@ -6,6 +6,7 @@ import {
|
|||||||
} from "../format.js";
|
} from "../format.js";
|
||||||
|
|
||||||
function taskRows(tasks) {
|
function taskRows(tasks) {
|
||||||
|
// Order comes from backend (_task_records started_at DESC); do not re-sort here.
|
||||||
const entries = Object.entries(tasks || {});
|
const entries = Object.entries(tasks || {});
|
||||||
if (!entries.length) return emptyState("暂无任务记录", "运行一次同步、快照或发现后会写入最近结果。");
|
if (!entries.length) return emptyState("暂无任务记录", "运行一次同步、快照或发现后会写入最近结果。");
|
||||||
return `<div class="table-wrap">
|
return `<div class="table-wrap">
|
||||||
|
|||||||
Reference in new issue
Block a user