forked from DebaucheryLibrarian/traxxx
Added various conditions to prevent errors and warnings.
This commit is contained in:
@@ -363,6 +363,7 @@
|
||||
<Pagination
|
||||
:items-total="totalCount"
|
||||
:items-per-page="limit"
|
||||
name="actorRange"
|
||||
class="pagination-top"
|
||||
/>
|
||||
</div>
|
||||
@@ -409,7 +410,7 @@ function showAlbum() {
|
||||
}
|
||||
|
||||
async function watchRoute(to, from) {
|
||||
if (to.hash !== '#album' && from.hash !== '#album') {
|
||||
if ((to.name === 'actor' || to.name === 'actorRange') && to.hash !== '#album' && from.hash !== '#album') {
|
||||
await this.fetchActor();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user