forked from DebaucheryLibrarian/traxxx
Changed range filter to routes for every view.
This commit is contained in:
@@ -54,7 +54,11 @@ import FilterBar from '../header/filter-bar.vue';
|
||||
import Releases from '../releases/releases.vue';
|
||||
|
||||
async function fetchSite() {
|
||||
this.site = await this.$store.dispatch('fetchSites', { siteSlug: this.$route.params.siteSlug });
|
||||
this.site = await this.$store.dispatch('fetchSiteBySlug', {
|
||||
siteSlug: this.$route.params.siteSlug,
|
||||
range: this.$route.params.range,
|
||||
});
|
||||
|
||||
this.releases = this.site.releases;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user