Update Title on Forward/Backwards navigation

This commit is contained in:
Cameron Radmore 2021-05-23 14:04:54 -04:00
parent a170fa80c6
commit 0a57825e92
1 changed files with 2 additions and 0 deletions

View File

@ -247,10 +247,12 @@ export default Vue.extend({
historyBack: function () {
window.history.back()
document.title = `${this.$t(this.$route.meta.title)} - ${process.env.PRODUCT_NAME}`
},
historyForward: function () {
window.history.forward()
document.title = `${this.$t(this.$route.meta.title)} - ${process.env.PRODUCT_NAME}`
},
toggleSideNav: function () {