Browse Source

Fix JS lint

updated_weboob
Lucas Verney 5 years ago
parent
commit
702f58cf9e
  1. 2
      flatisfy/web/js_src/api/index.js
  2. 4
      flatisfy/web/js_src/views/details.vue

2
flatisfy/web/js_src/api/index.js

@ -123,7 +123,7 @@ export const updateFlatVisitDate = function (flatId, newVisitDate, callback) { @@ -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) {

4
flatisfy/web/js_src/views/details.vue

@ -240,8 +240,8 @@ export default { @@ -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…
Cancel
Save