Lint error fix
This commit is contained in:
parent
d41227327e
commit
5b96b3a032
|
@ -167,7 +167,9 @@ angular.module('lemur')
|
||||||
},
|
},
|
||||||
setValidityEndDateRange: function (value) {
|
setValidityEndDateRange: function (value) {
|
||||||
// clear selected validity end date as we are about to calculate new range
|
// clear selected validity end date as we are about to calculate new range
|
||||||
if(this.validityEnd) this.validityEnd = '';
|
if(this.validityEnd) {
|
||||||
|
this.validityEnd = '';
|
||||||
|
}
|
||||||
|
|
||||||
// Minimum end date will be same as selected start date
|
// Minimum end date will be same as selected start date
|
||||||
this.authority.authorityCertificate.minValidityEnd = value;
|
this.authority.authorityCertificate.minValidityEnd = value;
|
||||||
|
|
|
@ -147,7 +147,9 @@ angular.module('lemur')
|
||||||
},
|
},
|
||||||
setValidityEndDateRange: function (value) {
|
setValidityEndDateRange: function (value) {
|
||||||
// clear selected validity end date as we are about to calculate new range
|
// clear selected validity end date as we are about to calculate new range
|
||||||
if(this.validityEnd) this.validityEnd = '';
|
if(this.validityEnd) {
|
||||||
|
this.validityEnd = '';
|
||||||
|
}
|
||||||
|
|
||||||
// Minimum end date will be same as selected start date
|
// Minimum end date will be same as selected start date
|
||||||
this.authority.authorityCertificate.minValidityEnd = value;
|
this.authority.authorityCertificate.minValidityEnd = value;
|
||||||
|
|
Loading…
Reference in New Issue