Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 96cfdc0

Browse files
authored
fix: groups (#464)
1 parent 2cfea97 commit 96cfdc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/components/topology/topo-services.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ limitations under the License. -->
5252
(json: Array<{ key: string; label: string; group: string }>) => {
5353
const groups = [] as string[];
5454
for (const g of json) {
55-
if (!groups.includes(g.group)) {
55+
if (g.group && !groups.includes(g.group)) {
5656
groups.push(g.group);
5757
}
5858
}

0 commit comments

Comments
 (0)