fix(system): drop frontend taskRows sort; rely on backend started_at order
This commit is contained in:
1 parent
e6883f99a4
commit
d0bc724eee
2 files changed
+3
-11
No files matched your search
@@ -646,7 +646,7 @@ class DashboardQueries:
|
||||
value = {"raw": row["v"]}
|
||||
items.append((name, value))
|
||||
items.sort(key=lambda pair: self._task_started_sort_key(pair[1]))
|
||||
# 插入序即开始时间倒序;JSON/Object.entries 会保留。
|
||||
# 插入序即开始时间倒序;前端 Object.entries 保留该序,勿再排序。
|
||||
return dict(items)
|
||||
|
||||
def _task_running(self, conn: sqlite3.Connection) -> dict[str, Any]:
|
||||
|
||||
Reference in new issue
Block a user