Not parsing HTML with jsdom when using http module directly to save memory. Added loading ellipsis to release grid pages.
This commit is contained in:
@@ -361,7 +361,10 @@
|
||||
:available-actors="actor.actors"
|
||||
/>
|
||||
|
||||
<Releases :releases="releases" />
|
||||
<Releases
|
||||
:releases="releases"
|
||||
:done="done"
|
||||
/>
|
||||
|
||||
<Pagination
|
||||
:items-total="totalCount"
|
||||
@@ -389,6 +392,8 @@ import Social from './social.vue';
|
||||
import StashButton from '../stashes/button.vue';
|
||||
|
||||
async function fetchActor(scroll = true) {
|
||||
this.done = false;
|
||||
|
||||
const { actor, releases, totalCount } = await this.$store.dispatch('fetchActorById', {
|
||||
actorId: Number(this.$route.params.actorId),
|
||||
limit: this.limit,
|
||||
@@ -400,6 +405,7 @@ async function fetchActor(scroll = true) {
|
||||
this.releases = releases;
|
||||
this.totalCount = totalCount;
|
||||
this.stashedBy = actor.stashes;
|
||||
this.done = true;
|
||||
|
||||
if (this.$refs.filter && scroll) {
|
||||
this.$refs.filter.$el.scrollIntoView();
|
||||
@@ -463,6 +469,7 @@ export default {
|
||||
return {
|
||||
actor: null,
|
||||
releases: null,
|
||||
done: false,
|
||||
totalCount: 0,
|
||||
limit: 20,
|
||||
pageTitle: null,
|
||||
|
||||
Reference in New Issue
Block a user