harbor/static/ng/resources/js/components/project-member/switch-role.directive.html

5 lines
285 B
HTML

<ng-switch on="vm.editMode">
<span ng-switch-default>//vm.currentRole.name//</span>
<select ng-switch-when="true" ng-model="vm.currentRole" ng-options="role as role.name for role in vm.roles track by role.roleName" ng-click="vm.selectRole(vm.currentRole)">
</select>
</ng-switch>