diff --git a/module/templates/index.html b/module/templates/index.html
index a9c19bc..65825d3 100644
--- a/module/templates/index.html
+++ b/module/templates/index.html
@@ -1506,16 +1506,24 @@
const totalStr = (c.total && c.total > 0)
? `${c.done||0} / ${c.total} 完成`
: `${c.done||0} 个完成`;
+ const filterLine = renderFilterLine(q.download_filter);
return `
🚀
${title}
+ ${filterLine}
${st}
${progBar}
@@ -1557,11 +1567,13 @@
function renderPendingCard(q) {
const title = escapeHtml(q.chat_title || q.chat_id);
+ const filterLine = renderFilterLine(q.download_filter);
return `
⏳
${title}
+ ${filterLine}
排队中…
`;
diff --git a/module/web.py b/module/web.py
index 9970641..1d2dee2 100644
--- a/module/web.py
+++ b/module/web.py
@@ -215,11 +215,12 @@ def _compute_current_task_queue() -> list:
if cid:
history_map[cid] = h.get("chat_title", "") or cid
queue = []
- for chat_id in _app.chat_download_config.keys():
+ for chat_id, cfg in _app.chat_download_config.items():
cid_str = str(chat_id)
queue.append({
"chat_id": cid_str,
"chat_title": history_map.get(cid_str, cid_str),
+ "download_filter": getattr(cfg, "download_filter", "") or "",
})
return queue