forked from DebaucheryLibrarian/traxxx
Fixed album navigation interfering with filter navigation.
This commit is contained in:
parent
bd59bdd215
commit
4ae130a646
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue