mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: fix problem_create langs
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -991,6 +991,7 @@ export class ProblemStatisticsHandler extends ProblemDetailHandler {
|
||||
|
||||
export class ProblemCreateHandler extends Handler {
|
||||
async get() {
|
||||
this.response.body.statementLangs = this.ctx.i18n.langs(false);
|
||||
this.response.template = 'problem_edit.html';
|
||||
this.response.body = {
|
||||
page_name: 'problem_create',
|
||||
|
||||
Reference in new issue
Block a user