Fix: fix default configured service weight = 0 (#6151)

This commit is contained in:
Fabian 2026-01-02 06:40:58 +01:00 committed by GitHub
parent 08da8e66fd
commit 0515f891ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ function parseServicesToGroups(services) {
serviceGroupServices.push({
name: entryName,
...entries[entryName],
weight: entries[entryName].weight || serviceGroupServices.length * 100, // default weight
weight: entries[entryName].weight ?? serviceGroupServices.length * 100, // default weight
type: "service",
});
}