From de5b729c0b5a4760040231f6bc4a06defd57b3d3 Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Sat, 9 May 2020 01:10:07 +0200 Subject: [PATCH] Changed range filter to routes for every view. --- assets/components/actors/actor.vue | 2 +- assets/components/header/filter-bar.vue | 18 +++++--- assets/components/header/header.vue | 2 +- assets/components/home/home.vue | 7 ++- assets/components/networks/network.vue | 5 ++- assets/components/releases/releases.vue | 6 +++ assets/components/sites/site.vue | 6 ++- assets/components/tags/tag.vue | 5 ++- assets/components/tile/release.vue | 4 +- assets/js/actors/actions.js | 4 +- assets/js/fragments.js | 4 ++ assets/js/networks/actions.js | 18 ++++---- assets/js/router.js | 60 ++++++++++++++++++++----- assets/js/sites/actions.js | 18 ++++---- assets/js/tags/actions.js | 18 ++++---- assets/js/ui/observers.js | 21 ++------- 16 files changed, 125 insertions(+), 73 deletions(-) diff --git a/assets/components/actors/actor.vue b/assets/components/actors/actor.vue index a5676ed0..aa282c3f 100644 --- a/assets/components/actors/actor.vue +++ b/assets/components/actors/actor.vue @@ -254,7 +254,7 @@ import Social from './social.vue'; async function fetchActor() { this.actor = await this.$store.dispatch('fetchActorBySlug', { - slug: this.$route.params.actorSlug, + actorSlug: this.$route.params.actorSlug, range: this.$route.params.range, }); } diff --git a/assets/components/header/filter-bar.vue b/assets/components/header/filter-bar.vue index 8981e914..ca10b7e1 100644 --- a/assets/components/header/filter-bar.vue +++ b/assets/components/header/filter-bar.vue @@ -2,26 +2,26 @@
Latest Upcoming New