forked from DebaucheryLibrarian/traxxx
Refactoring client to reflect database changes.
This commit is contained in:
@@ -75,6 +75,8 @@ async function mounted() {
|
||||
],
|
||||
});
|
||||
|
||||
console.log(tags);
|
||||
|
||||
this.tags = tags.reduce((acc, tag) => {
|
||||
if (acc[tag.group.slug]) {
|
||||
return { ...acc, [tag.group.slug]: [...acc[tag.group.slug], tag] };
|
||||
|
||||
Reference in New Issue
Block a user