mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
Merge branch 'master' into problem-content
This commit is contained in:
1 file changed
+1
-1
@@ -548,7 +548,7 @@ export class ProblemModel {
|
||||
}
|
||||
const docId = overridePid
|
||||
? (await ProblemModel.edit(domainId, overridePid, {
|
||||
title: pdoc.title.trim(),
|
||||
title: title.trim(),
|
||||
content: overrideContent || [{
|
||||
name: 'default', content: pdoc.content.toString() || 'No content', lang: 'en',
|
||||
}],
|
||||
|
||||
Reference in new issue
Block a user