mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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
|
const docId = overridePid
|
||||||
? (await ProblemModel.edit(domainId, overridePid, {
|
? (await ProblemModel.edit(domainId, overridePid, {
|
||||||
title: pdoc.title.trim(),
|
title: title.trim(),
|
||||||
content: overrideContent || [{
|
content: overrideContent || [{
|
||||||
name: 'default', content: pdoc.content.toString() || 'No content', lang: 'en',
|
name: 'default', content: pdoc.content.toString() || 'No content', lang: 'en',
|
||||||
}],
|
}],
|
||||||
|
|||||||
Reference in new issue
Block a user