mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
Update record.ts
This commit is contained in:
1 parent
07acf91838
commit
31aafa2118
1 file changed
+1
-1
@@ -239,7 +239,7 @@ class RecordMainConnectionHandler extends ConnectionHandler {
|
||||
if (pdoc.hidden && !this.user.own(pdoc) && !this.user.hasPerm(PERM.PERM_VIEW_PROBLEM_HIDDEN)) pdoc = null;
|
||||
if (!this.user.hasPerm(PERM.PERM_VIEW_PROBLEM)) pdoc = null;
|
||||
}
|
||||
if (rdoc.input) this.send({ rdoc });
|
||||
if (this.pretest) this.send({ rdoc });
|
||||
else {
|
||||
this.send({
|
||||
html: await this.renderHTML('record_main_tr.html', {
|
||||
|
||||
Reference in new issue
Block a user