mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
fix scroll into view input with error while adding event
This commit is contained in:
parent
6757ae2dc6
commit
1ff5cdec99
2 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ export default {
|
|||
if (!this.$refs.form.validate()) {
|
||||
this.$nextTick(() => {
|
||||
const el = document.querySelector('.v-input.error--text:first-of-type')
|
||||
el.scrollIntoView()
|
||||
el.scrollIntoView(false)
|
||||
})
|
||||
return
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ export default {
|
|||
if (this.filters.show_recurrent) {
|
||||
return this.events
|
||||
}
|
||||
events = events.filter(e => !e.parentId)
|
||||
return events.filter(e => !e.parentId)
|
||||
}
|
||||
|
||||
return events.filter(e => {
|
||||
|
|
Loading…
Reference in a new issue