auto-sync: 2026-05-20 13:23:19

This commit is contained in:
cfdaily
2026-05-20 13:23:19 +08:00
parent 28d4844d4f
commit 855f06dcd0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -441,8 +441,8 @@ export default function EdictBoard() {
))}
<span style={{ fontSize: 10, color: 'var(--muted)', marginLeft: 4 }}>{activeCount} · {archivedCount} · {topLevelTasks.length}</span>
<button onClick={async () => {
const pid = selectedProjectId;
if (!pid) return;
const pid = selectedProjectId && !selectedProjectId.startsWith('__') ? selectedProjectId : null;
if (!pid) { toast('请选择具体项目后归档', 'err'); return; }
try {
const res = await fetch(`/api/projects/${pid}/tasks/archive-done`, { method: 'POST' });
const r = await res.json();
+1 -1
View File
@@ -1 +1 @@
{"root":["./src/app.tsx","./src/api.ts","./src/main.tsx","./src/store.ts","./src/time.ts","./src/vite-env.d.ts","./src/components/artifactlist.tsx","./src/components/artifactpanel.tsx","./src/components/checkpointpanel.tsx","./src/components/confirmdialog.tsx","./src/components/courtceremony.tsx","./src/components/courtdiscussion.tsx","./src/components/edictboard.tsx","./src/components/globalsearch.tsx","./src/components/mailpanel.tsx","./src/components/memorialpanel.tsx","./src/components/modelconfig.tsx","./src/components/monitorpanel.tsx","./src/components/morningpanel.tsx","./src/components/notificationcenter.tsx","./src/components/officialpanel.tsx","./src/components/sessionspanel.tsx","./src/components/settingspanel.tsx","./src/components/skillsconfig.tsx","./src/components/taskmodal.tsx","./src/components/templatepanel.tsx","./src/components/toaster.tsx","./src/components/usagepanel.tsx"],"version":"5.9.3"}
{"root":["./src/app.tsx","./src/api.ts","./src/main.tsx","./src/store.ts","./src/time.ts","./src/vite-env.d.ts","./src/components/artifactlist.tsx","./src/components/artifactpanel.tsx","./src/components/checkpointpanel.tsx","./src/components/confirmdialog.tsx","./src/components/courtceremony.tsx","./src/components/courtdiscussion.tsx","./src/components/edictboard.tsx","./src/components/globalsearch.tsx","./src/components/mailpanel.tsx","./src/components/memorialpanel.tsx","./src/components/modelconfig.tsx","./src/components/monitorpanel.tsx","./src/components/morningpanel.tsx","./src/components/notificationcenter.tsx","./src/components/officialpanel.tsx","./src/components/sessionspanel.tsx","./src/components/settingspanel.tsx","./src/components/skillsconfig.tsx","./src/components/taskmodal.tsx","./src/components/templatepanel.tsx","./src/components/toaster.tsx","./src/components/usagepanel.tsx"],"errors":true,"version":"5.9.3"}