Fix forward button being enabled after clicking on forward button (#4462)

This commit is contained in:
Jason 2023-12-20 22:21:28 -06:00 committed by GitHub
parent 6541695c41
commit 57930d8439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,7 +183,7 @@ export default defineComponent({
})
this.$router.onReady(() => {
if (this.$router.currentRoute.path === '/' && this.landingPage !== '/subscriptions') {
if (this.$router.currentRoute.path === '/') {
this.$router.replace({ path: this.landingPage })
}
})