mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: contest: tsdoc projection for contest
This commit is contained in:
1 parent
8f7d81ddca
commit
dbe369d0c6
9 files changed
+57
-28
No files matched your search
@@ -119,7 +119,7 @@ export class ContestDetailHandler extends ContestDetailBaseHandler {
|
||||
this.response.template = 'contest_detail.html';
|
||||
const udict = await user.getList(domainId, [this.tdoc.owner]);
|
||||
this.response.body = {
|
||||
tdoc: this.tdoc, tsdoc: this.tsdoc, udict,
|
||||
tdoc: this.tdoc, tsdoc: pick(this.tsdoc, ['attend', 'startAt']), udict,
|
||||
};
|
||||
if (!this.request.json) {
|
||||
this.response.body.tdoc.content = this.response.body.tdoc.content
|
||||
|
||||
Reference in new issue
Block a user