mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 13:45:20 +01:00
6 lines
305 B
HTML
6 lines
305 B
HTML
<ng-switch on="vm.editMode">
|
|
<span ng-switch-default>//vm.currentRole.name//</span>
|
|
<select ng-switch-when="true">
|
|
<option value="//role.id//" ng-selected="//role.id == vm.currentRole.id//" ng-click="vm.selectRole(role)" ng-repeat="role in vm.roles">//role.name//</option>
|
|
</select>
|
|
</ng-switch> |