GUACAMOLE-220: Do not display "X" for removing an identifier if the identifier cannot actually be edited.

This commit is contained in:
Michael Jumper committed 2018-08-08 21:50:26 -07:00
1 parent 0059121716
commit ca1db7831b
2 files changed
+21 -1

No files matched your search

@@ -18,7 +18,8 @@
<ul>
<li ng-repeat="identifier in identifiers | filter: filterString">
<label><img src="images/x-red.png" alt="Remove" class="remove"
ng-click="removeIdentifier(identifier)"/><span class="identifier">{{ identifier }}</span>
ng-click="removeIdentifier(identifier)"
ng-show="isEditable[identifier]"/><span class="identifier">{{ identifier }}</span>
</label>
</li>
</ul>