mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
use filterdPostTypes getter
This commit is contained in:
parent
598aa0ad06
commit
57de9b35c3
@ -40,10 +40,10 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
...mapGetters({
|
||||
postFilters: 'posts/filter',
|
||||
filteredPostTypes: 'posts/filteredPostTypes',
|
||||
}),
|
||||
eventSetInPostTypeFilter() {
|
||||
return this.postTypes.postType_in && this.postTypes.postType_in.includes('Event')
|
||||
return this.filteredPostTypes.includes('Event')
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user