Skip to content

Commit

Permalink
improve unit permission
Browse files Browse the repository at this point in the history
  • Loading branch information
yp05327 committed Feb 18, 2023
1 parent feed1ff commit 206c5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/org/team/sidebar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</thead>
<tbody>
{{range $t, $unit := $.Units}}
{{if and (lt $unit.MaxPerm 2) (not $unit.Type.UnitGlobalDisabled)}}
{{if (not $unit.Type.UnitGlobalDisabled)}}
<tr>
<td><strong>{{$.locale.Tr $unit.NameKey}}</strong></td>
<td>{{if eq ($.Team.UnitAccessMode $.Context $unit.Type) 0 -}}
Expand Down

0 comments on commit 206c5e3

Please sign in to comment.