Fixed album navigation interfering with filter navigation.

This commit is contained in:
DebaucheryLibrarian 2021-02-05 01:29:53 +01:00
parent bd59bdd215
commit 4ae130a646
2 changed files with 4 additions and 4 deletions

View File

@ -402,10 +402,10 @@ function showAlbum() {
}
async function watchRoute(to, from) {
console.log(to, from);
if (to.hash !== '#album' && from.hash !== '#album') {
await this.fetchActor();
}
}
async function mounted() {
await this.fetchActor();

View File

@ -102,7 +102,7 @@ function showAlbum() {
}
async function watchRoute(to, from) {
if (to.params.pageNumber !== from.params.pageNumber) {
if (to.hash !== '#album' && from.hash !== '#album') {
await this.fetchReleases();
}
}