mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: fix contest permission control value (#581)
This commit is contained in:
1 parent
86dc5765df
commit
49dadb6511
1 file changed
+1
-1
@@ -100,7 +100,7 @@
|
||||
'invite': _('Require Invitation Code'),
|
||||
'assign': _('Assign User or Group')
|
||||
},
|
||||
value: ("public" if not tdoc._code else "invite") if not tdoc.assign else "assign",
|
||||
value: ("public" if not tdoc._code else "invite") if not tdoc.assign|length else "assign",
|
||||
disabled:true,
|
||||
row:false
|
||||
}) }}
|
||||
|
||||
Reference in new issue
Block a user