mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-07 11:10:16 +01:00
5 lines
366 B
HTML
5 lines
366 B
HTML
<ng-switch on="vm.editMode">
|
|
<span ng-switch-default>//vm.currentRole.name | tr//</span>
|
|
<select class="form-control" style="width: auto; height: auto; padding: 0;" ng-switch-when="true" ng-model="vm.currentRole" ng-options="role as (role.name | tr) for role in vm.roles track by role.roleName" ng-change="vm.selectRole(vm.currentRole)">
|
|
</select>
|
|
</ng-switch> |