diff --git a/assets/components/actors/actor.vue b/assets/components/actors/actor.vue index ca2a02ce..989610be 100644 --- a/assets/components/actors/actor.vue +++ b/assets/components/actors/actor.vue @@ -402,9 +402,9 @@ function showAlbum() { } async function watchRoute(to, from) { - console.log(to, from); - - await this.fetchActor(); + if (to.hash !== '#album' && from.hash !== '#album') { + await this.fetchActor(); + } } async function mounted() { diff --git a/assets/components/tags/tag.vue b/assets/components/tags/tag.vue index 75672717..6956ac71 100644 --- a/assets/components/tags/tag.vue +++ b/assets/components/tags/tag.vue @@ -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(); } }