forked from DebaucheryLibrarian/traxxx
Further refactoring. Fixed actor pages and more.
This commit is contained in:
@@ -232,7 +232,7 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Releases :releases="releases" />
|
||||
<Releases :releases="actor.releases" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -252,10 +252,9 @@ function scrollPhotos(event) {
|
||||
}
|
||||
|
||||
async function mounted() {
|
||||
[this.actor] = await Promise.all([
|
||||
this.$store.dispatch('fetchActors', { actorSlug: this.$route.params.actorSlug }),
|
||||
this.fetchReleases(),
|
||||
]);
|
||||
this.actor = await this.$store.dispatch('fetchActors', { actorSlug: this.$route.params.actorSlug });
|
||||
|
||||
console.log(this.actor.releases[0]);
|
||||
|
||||
if (this.actor) {
|
||||
this.pageTitle = this.actor.name;
|
||||
|
||||
Reference in New Issue
Block a user