mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-26 10:38:00 +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> |