core: 修复ProblemDetail.title被翻译的问题

This commit is contained in:
undefined committed 2021-03-25 23:07:49 +08:00
1 parent 9d8f2d28e5
commit 759675fcd4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "2.20.30",
"version": "2.20.31",
"bin": "bin/hydrooj.js",
"main": "dist/loader.js",
"typings": "dist/loader.d.ts",
+1 -1
View File
@@ -164,7 +164,7 @@ export class ProblemDetailHandler extends ProblemHandler {
path: [
['Hydro', 'homepage'],
['problem_main', 'problem_main'],
[this.pdoc.title, null, true],
[this.pdoc.title, null, null, true],
],
};
this.extraTitleContent = this.pdoc.title;