Merge pull request #280 from kevgliss/SAN-hotfix
Fixes an issue where custom OIDs would clear out san extensions
This commit is contained in:
commit
b463fcf61b
|
@ -34,7 +34,7 @@ angular.module('lemur')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.extensions.custom === undefined) {
|
if (this.extensions.custom === undefined) {
|
||||||
this.extensions = {'custom': []};
|
this.extensions.custom = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (angular.isString(this.customOid) && angular.isString(this.customEncoding) && angular.isString(this.customValue)) {
|
if (angular.isString(this.customOid) && angular.isString(this.customEncoding) && angular.isString(this.customValue)) {
|
||||||
|
|
|
@ -39,7 +39,7 @@ angular.module('lemur')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.extensions.custom === undefined) {
|
if (this.extensions.custom === undefined) {
|
||||||
this.extensions = {'custom': []};
|
this.extensions.custom = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (angular.isString(this.customOid) && angular.isString(this.customEncoding) && angular.isString(this.customValue)) {
|
if (angular.isString(this.customOid) && angular.isString(this.customEncoding) && angular.isString(this.customValue)) {
|
||||||
|
|
Loading…
Reference in New Issue