mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: move lib/misc to ui
This commit is contained in:
1 parent
08462cf870
commit
baab7bb68c
10 files changed
+62
-69
No files matched your search
@@ -376,6 +376,7 @@ export class ContestFilesHandler extends ContestDetailBaseHandler {
|
||||
if (!this.user.own(this.tdoc)) this.checkPerm(PERM.PERM_EDIT_CONTEST);
|
||||
const body = {
|
||||
tdoc: this.tdoc,
|
||||
tsdoc: this.tsdoc,
|
||||
owner_udoc: await user.getById(domainId, this.tdoc.owner),
|
||||
files: sortFiles(this.tdoc.files || []),
|
||||
urlForFile: (filename: string) => this.url('contest_file_download', { tid, filename }),
|
||||
|
||||
Reference in new issue
Block a user