JS Nova matriz do novo conjunto

return Array.from(new Set(this.posts.map(e => e.category)))
Diz Andriana