Fix JS lint
This commit is contained in:
parent
00904a2e6e
commit
702f58cf9e
@ -123,7 +123,7 @@ export const updateFlatVisitDate = function (flatId, newVisitDate, callback) {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
visit_date: newVisitDate
|
||||
visit_date: newVisitDate // eslint-disable-line camelcase
|
||||
})
|
||||
}
|
||||
).then(callback).catch(function (ex) {
|
||||
|
@ -240,8 +240,8 @@ export default {
|
||||
altFormat: 'h:i K, M j, Y',
|
||||
altInput: true,
|
||||
enableTime: true,
|
||||
onChange: selectedDates => this.updateFlatVisitDate(selectedDates.length > 0 ? selectedDates[0] : null),
|
||||
},
|
||||
onChange: selectedDates => this.updateFlatVisitDate(selectedDates.length > 0 ? selectedDates[0] : null)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user