diff --git a/webapp/components/FilterMenu/FilterMenuComponent.vue b/webapp/components/FilterMenu/FilterMenuComponent.vue index 20beaedfd..c1179ccbe 100644 --- a/webapp/components/FilterMenu/FilterMenuComponent.vue +++ b/webapp/components/FilterMenu/FilterMenuComponent.vue @@ -18,7 +18,7 @@ diff --git a/webapp/components/FilterMenu/OrderByFilter.vue b/webapp/components/FilterMenu/OrderByFilter.vue index 279c2600a..1edd908b4 100644 --- a/webapp/components/FilterMenu/OrderByFilter.vue +++ b/webapp/components/FilterMenu/OrderByFilter.vue @@ -26,7 +26,7 @@ diff --git a/webapp/mixins/filterMenuMixin.js b/webapp/mixins/filterMenuMixin.js deleted file mode 100644 index 2d7aefc48..000000000 --- a/webapp/mixins/filterMenuMixin.js +++ /dev/null @@ -1,23 +0,0 @@ -import { mapGetters, mapMutations } from 'vuex' - -export default { - computed: { - ...mapGetters({ - currentUser: 'auth/user', - filteredPostTypes: 'posts/filteredPostTypes', - noneSetInPostTypeFilter: 'posts/noneSetInPostTypeFilter', - articleSetInPostTypeFilter: 'posts/articleSetInPostTypeFilter', - eventSetInPostTypeFilter: 'posts/eventSetInPostTypeFilter', - orderedByCreationDate: 'posts/orderedByCreationDate', - orderBy: 'posts/orderBy', - }), - }, - methods: { - ...mapMutations({ - toggleFilterPostType: 'posts/TOGGLE_POST_TYPE', - toggleUnsetAllPostTypeFilters: 'posts/TOGGLE_UNSET_ALL_POST_TYPES_FILTERS', - toggleSetUnsetPostTypeFilter: 'posts/TOGGLE_SET_UNSET_POST_TYPE_FILTER', - toggleOrder: 'posts/TOGGLE_ORDER', - }), - }, -} diff --git a/webapp/pages/index.vue b/webapp/pages/index.vue index 09d4cf919..16a41a831 100644 --- a/webapp/pages/index.vue +++ b/webapp/pages/index.vue @@ -138,7 +138,6 @@