ui: collapse problem_solution long content by default

This commit is contained in:
undefined committed 2026-01-15 00:24:59 +08:00
1 parent 47b18c6db5
commit c296fa106e
18 files changed
+155 -52

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ interface ParsedSubtask {
export function readSubtasksFromFiles(files: string[], config) {
const subtask: Record<number, ParsedSubtask> = {};
for (const s of config.subtasks || []) if (s.id) subtask[s.id] = s;
for (const s of config.subtasks || []) if (s.id && Number.isSafeInteger(s.id)) subtask[s.id] = s;
for (const file of files) {
let match = false;
for (const rule of SubtaskMatcher) {