mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-07-10 07:57:37 +00:00
Fix frontend (#3199)
This commit is contained in:
committed by
GitHub
parent
864522b7fa
commit
25c310b57b
@ -40,7 +40,7 @@ export async function GET() {
|
|||||||
const categories = metadata.categories
|
const categories = metadata.categories
|
||||||
.map((category) => {
|
.map((category) => {
|
||||||
category.scripts = scripts.filter((script) =>
|
category.scripts = scripts.filter((script) =>
|
||||||
script.categories.includes(category.id),
|
script.categories?.includes(category.id),
|
||||||
);
|
);
|
||||||
return category;
|
return category;
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user