Skip to content

Commit 206c5e3

Browse files
committed
improve unit permission
1 parent feed1ff commit 206c5e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/org/team/sidebar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</thead>
5959
<tbody>
6060
{{range $t, $unit := $.Units}}
61-
{{if and (lt $unit.MaxPerm 2) (not $unit.Type.UnitGlobalDisabled)}}
61+
{{if (not $unit.Type.UnitGlobalDisabled)}}
6262
<tr>
6363
<td><strong>{{$.locale.Tr $unit.NameKey}}</strong></td>
6464
<td>{{if eq ($.Team.UnitAccessMode $.Context $unit.Type) 0 -}}

0 commit comments

Comments
 (0)