transversal links to nav history #786, restored scrolls

This commit is contained in:
2020-07-21 17:38:27 +02:00
parent 44388adaf8
commit f0b6a79bc7
6 changed files with 133 additions and 88 deletions
+13 -1
View File
@@ -60,7 +60,19 @@ export default {
}),
onclick () {
console.log('clicked on result item', this.result)
this.addHistoryItem(this.result)
this.addHistoryItem({
id: this.result.textId,
textid: this.result.uuid,
title: this.result.title[0],
editionTitle: this.editionTitle
})
this.$router.push({
name: `editiontext`,
params: {
id: this.result.textId,
textid: this.result.uuid
}
})
}
}
}