diff --git a/virtweb_frontend/src/routes/VMListRoute.tsx b/virtweb_frontend/src/routes/VMListRoute.tsx index 4b549aa..ccb788a 100644 --- a/virtweb_frontend/src/routes/VMListRoute.tsx +++ b/virtweb_frontend/src/routes/VMListRoute.tsx @@ -112,21 +112,26 @@ function VMListWidget(p: { {p.groups.map((g, num) => ( - - - toggleHiddenGroup(g)}> - {!hiddenGroups?.has(g) ? ( - - ) : ( - - )} - - {g ?? "default"} - - + {p.groups.length > 1 && ( + + + toggleHiddenGroup(g)} + > + {!hiddenGroups?.has(g) ? ( + + ) : ( + + )} + + {g ?? "default"} + + + )} {!hiddenGroups.has(g) && p.list