hide token list if there are no tokens

This commit is contained in:
encrypt 2020-03-26 22:00:21 +01:00
parent 5b0e62ef3c
commit da7a811dc9

View file

@ -53,7 +53,7 @@
<button class="dialog-submit" type="button" data-bind="enable: tokenToAdd().length > 0, click: addToken()">Add</button>
</td>
</tr>
<tr data-bind="if: $root.config.connectDialog.token">
<tr data-bind="if: $root.config.connectDialog.token, visible: tokens().length > 0">
<td></td>
<td><select id="token" multiple="multiple" height="5" data-bind="options:tokens, selectedOptions:selectedTokens"></select></td>
</tr>