Modified cert description to have cert id being cloned
This commit is contained in:
parent
e75e472a1a
commit
404d213e8f
|
@ -221,6 +221,7 @@ angular.module('lemur')
|
||||||
$scope.certificate.validityStart = null;
|
$scope.certificate.validityStart = null;
|
||||||
$scope.certificate.validityEnd = null;
|
$scope.certificate.validityEnd = null;
|
||||||
$scope.certificate.keyType = 'RSA2048'; // default algo to show during clone
|
$scope.certificate.keyType = 'RSA2048'; // default algo to show during clone
|
||||||
|
$scope.certificate.description = 'Cloning from cert ID ' + editId;
|
||||||
$scope.certificate.replacedBy = []; // should not clone 'replaced by' info
|
$scope.certificate.replacedBy = []; // should not clone 'replaced by' info
|
||||||
$scope.certificate.removeReplaces(); // should not clone 'replacement cert' info
|
$scope.certificate.removeReplaces(); // should not clone 'replacement cert' info
|
||||||
CertificateService.getDefaults($scope.certificate);
|
CertificateService.getDefaults($scope.certificate);
|
||||||
|
|
Loading…
Reference in New Issue