JS New Array aus dem neuen Set

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