Removing hardcoded name

This commit is contained in:
sayali 2020-10-06 18:50:37 -07:00
parent 6b96aefa21
commit c72661a87f
2 changed files with 2 additions and 3 deletions

View File

@ -125,8 +125,7 @@ angular.module('lemur')
}; };
$scope.populateSubjectEmail = function () { $scope.populateSubjectEmail = function () {
if($scope.authority.plugin.title.toLowerCase() === 'cloudca') $scope.authority.email = $scope.authority.owner;
$scope.authority.email = $scope.authority.owner;
}; };
}); });

View File

@ -49,7 +49,7 @@
<input name="organizationalUnit" ng-model="authority.organizationalUnit" placeholder="Organizational Unit" class="form-control"/> <input name="organizationalUnit" ng-model="authority.organizationalUnit" placeholder="Organizational Unit" class="form-control"/>
</div> </div>
</div> </div>
<div class="form-group" ng-if="authority.plugin.title.toLowerCase()==='cloudca'" <div class="form-group"
ng-class="{'has-error': dnForm.email.$invalid, 'has-success': !dnForm.$invalid&&dnForm.email.$dirty}"> ng-class="{'has-error': dnForm.email.$invalid, 'has-success': !dnForm.$invalid&&dnForm.email.$dirty}">
<label class="control-label col-sm-2"> <label class="control-label col-sm-2">
Email Email