JS New Array del nuevo set

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