1
0
mirror of https://github.com/octoleo/syncthing.git synced 2025-01-02 14:42:00 +00:00

gui: Hide allowed networks if unused ()

This commit is contained in:
Ben S 2018-06-06 20:56:54 +02:00 committed by Audrius Butkevicius
parent 76f9e5c5db
commit 4de8920642

View File

@ -653,7 +653,7 @@
<th><span class="fas fa-fw fa-exclamation-triangle text-danger"></span>&nbsp;<span translate>Connection Type</span></th>
<td class="text-right">{{connections[deviceCfg.deviceID].type}}</td>
</tr>
<tr ng-if="deviceCfg.allowedNetworks">
<tr ng-if="deviceCfg.allowedNetworks.length > 0">
<th><span class="fas fa-fw fa-filter"></span>&nbsp;<span translate>Allowed Networks</span></th>
<td class="text-right">
<span>{{deviceCfg.allowedNetworks.join(", ")}}</span>