Add all units to the units permission list in org team members sidebar (#22971)
Add all units to the units permission list in org team members sidebar. Before:  After:  Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
ef11d41639
commit
b811ab48e5
1 changed files with 1 additions and 1 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Reference in a new issue