forked from DebaucheryLibrarian/traxxx
Fixed album navigation interfering with filter navigation.
This commit is contained in:
@@ -402,9 +402,9 @@ function showAlbum() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function watchRoute(to, from) {
|
async function watchRoute(to, from) {
|
||||||
console.log(to, from);
|
if (to.hash !== '#album' && from.hash !== '#album') {
|
||||||
|
await this.fetchActor();
|
||||||
await this.fetchActor();
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function mounted() {
|
async function mounted() {
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ function showAlbum() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function watchRoute(to, from) {
|
async function watchRoute(to, from) {
|
||||||
if (to.params.pageNumber !== from.params.pageNumber) {
|
if (to.hash !== '#album' && from.hash !== '#album') {
|
||||||
await this.fetchReleases();
|
await this.fetchReleases();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user