@@ -243,8 +243,8 @@ import Photos from './photos.vue';
import FilterBar from '../header/filter-bar.vue';
import Releases from '../releases/releases.vue';
-async function fetchReleases() {
- this.releases = await this.$store.dispatch('fetchActorReleases', this.$route.params.actorSlug);
+async function fetchActor() {
+ this.actor = await this.$store.dispatch('fetchActors', { actorSlug: this.$route.params.actorSlug });
}
function scrollPhotos(event) {
@@ -252,7 +252,7 @@ function scrollPhotos(event) {
}
async function mounted() {
- this.actor = await this.$store.dispatch('fetchActors', { actorSlug: this.$route.params.actorSlug });
+ this.fetchActor();
if (this.actor) {
this.pageTitle = this.actor.name;
@@ -275,7 +275,7 @@ export default {
},
mounted,
methods: {
- fetchReleases,
+ fetchActor,
scrollPhotos,
},
};
diff --git a/assets/components/site/site.vue b/assets/components/site/site.vue
index eb1dcb81..39545a5c 100644
--- a/assets/components/site/site.vue
+++ b/assets/components/site/site.vue
@@ -3,7 +3,7 @@
v-if="site"
class="content site"
>
-
+