Fix: fix default configured service weight = 0 (#6151)
This commit is contained in:
parent
08da8e66fd
commit
0515f891ab
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue