mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-09 14:02:40 +02:00
dont show ips if there are none
This commit is contained in:
@@ -173,6 +173,7 @@
|
||||
<a class="dropdown-item rounded-1" role="menuitem">{./uid}</a>
|
||||
<button data-copy="{./uid}" class="btn btn-light btn-sm"><i class="fa fa-copy"></i></button>
|
||||
</li>
|
||||
{{{ if ./ips.length }}}
|
||||
<li class="dropdown-divider"></li>
|
||||
<li><h6 class="dropdown-header">[[admin/manage/users:users.recent-ips]]</h6></li>
|
||||
{{{ each ./ips }}}
|
||||
@@ -181,6 +182,7 @@
|
||||
<button data-copy="{@value}" class="btn btn-light btn-sm"><i class="fa fa-copy"></i></button>
|
||||
</li>
|
||||
{{{ end }}}
|
||||
{{{ end }}}
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user