mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 15:25:53 +00:00
Json
This commit is contained in:
@@ -41,7 +41,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