mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Code style fixes
This commit is contained in:
+1
-1
@@ -198,7 +198,7 @@ export class MaxDateFieldValidator implements FormFieldValidator {
|
||||
|
||||
// remove time and timezone info
|
||||
let d = moment(field.value.split('T')[0], dateFormat);
|
||||
var max = moment(field.maxValue, dateFormat);
|
||||
let max = moment(field.maxValue, dateFormat);
|
||||
|
||||
if (d.isAfter(max)) {
|
||||
field.validationSummary = `Should not be greater than ${field.maxValue}`;
|
||||
|
||||
Reference in New Issue
Block a user