mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Update webapp/mixins/filterMenuMixin.js
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
This commit is contained in:
parent
d0fe3006bc
commit
d24200eabd
@ -56,8 +56,8 @@ export default {
|
||||
// if 'setPostType' is not set then set it and unset all others
|
||||
this.toggleFilterPostType(setPostType)
|
||||
this.filterPostTypes.forEach((postType) => {
|
||||
if (postType !== setPostType)
|
||||
if (this.filteredPostTypes.includes(postType)) this.toggleFilterPostType(postType)
|
||||
if (postType !== setPostType && this.filteredPostTypes.includes(postType))
|
||||
this.toggleFilterPostType(postType)
|
||||
})
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user