You've already forked AstralRinth
forked from didirus/AstralRinth
Fix: Projects in collections have less tags shown that they have (#1599)
* Fix: Projects in collections have less tags shown that they have * Fix lint error
This commit is contained in:
@@ -531,7 +531,16 @@ try {
|
|||||||
() =>
|
() =>
|
||||||
useBaseFetch(
|
useBaseFetch(
|
||||||
`projects?ids=${encodeURIComponent(JSON.stringify(collection.value.projects))}`
|
`projects?ids=${encodeURIComponent(JSON.stringify(collection.value.projects))}`
|
||||||
)
|
),
|
||||||
|
{
|
||||||
|
transform: (projects) => {
|
||||||
|
for (const project of projects) {
|
||||||
|
project.categories = project.categories.concat(project.loaders)
|
||||||
|
}
|
||||||
|
|
||||||
|
return projects
|
||||||
|
},
|
||||||
|
}
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user