gui: Hide allowed networks if unused (#4989)

This commit is contained in:
Ben S 2018-06-06 20:56:54 +02:00 committed by Audrius Butkevicius
parent 76f9e5c5db
commit 4de8920642
1 changed files with 1 additions and 1 deletions

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>