Remove all instances of inject, replace with VueX store

This commit is contained in:
Alicia Sykes
2021-10-09 19:24:51 +01:00
parent 8a8166bb47
commit b55f96c839
16 changed files with 97 additions and 75 deletions

View File

@@ -35,7 +35,6 @@ import {
export default {
name: 'FilterTile',
inject: ['config'],
props: {
active: Boolean,
},
@@ -48,7 +47,7 @@ export default {
},
computed: {
searchPrefs() {
return this.config.appConfig.webSearch || {};
return this.$store.getters.webSearch || {};
},
},
mounted() {