Merge pull request #1901 from nextcloud/bugfix/noid/no-scroll-into-view
This commit is contained in:
@@ -137,13 +137,6 @@ export default {
|
|||||||
return moment(this.card.duedate).format('LLLL')
|
return moment(this.card.duedate).format('LLLL')
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
|
||||||
currentCard(newValue) {
|
|
||||||
if (newValue) {
|
|
||||||
this.$nextTick(() => this.$el.scrollIntoView())
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
openCard() {
|
openCard() {
|
||||||
this.$router.push({ name: 'card', params: { cardId: this.id } }).catch(() => {})
|
this.$router.push({ name: 'card', params: { cardId: this.id } }).catch(() => {})
|
||||||
|
|||||||
Reference in New Issue
Block a user