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
|
// if 'setPostType' is not set then set it and unset all others
|
||||||
this.toggleFilterPostType(setPostType)
|
this.toggleFilterPostType(setPostType)
|
||||||
this.filterPostTypes.forEach((postType) => {
|
this.filterPostTypes.forEach((postType) => {
|
||||||
if (postType !== setPostType)
|
if (postType !== setPostType && this.filteredPostTypes.includes(postType))
|
||||||
if (this.filteredPostTypes.includes(postType)) this.toggleFilterPostType(postType)
|
this.toggleFilterPostType(postType)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user