Divide per group only when there is at least one group defined
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -112,12 +112,16 @@ function VMListWidget(p: {
 | 
			
		||||
        <TableBody>
 | 
			
		||||
          {p.groups.map((g, num) => (
 | 
			
		||||
            <React.Fragment key={num}>
 | 
			
		||||
              {p.groups.length > 1 && (
 | 
			
		||||
                <TableRow>
 | 
			
		||||
                  <TableCell
 | 
			
		||||
                    style={{ paddingBottom: 2, paddingTop: 2 }}
 | 
			
		||||
                    colSpan={6}
 | 
			
		||||
                  >
 | 
			
		||||
                  <IconButton size="small" onClick={() => toggleHiddenGroup(g)}>
 | 
			
		||||
                    <IconButton
 | 
			
		||||
                      size="small"
 | 
			
		||||
                      onClick={() => toggleHiddenGroup(g)}
 | 
			
		||||
                    >
 | 
			
		||||
                      {!hiddenGroups?.has(g) ? (
 | 
			
		||||
                        <KeyboardArrowUpIcon />
 | 
			
		||||
                      ) : (
 | 
			
		||||
@@ -127,6 +131,7 @@ function VMListWidget(p: {
 | 
			
		||||
                    {g ?? "default"}
 | 
			
		||||
                  </TableCell>
 | 
			
		||||
                </TableRow>
 | 
			
		||||
              )}
 | 
			
		||||
 | 
			
		||||
              {!hiddenGroups.has(g) &&
 | 
			
		||||
                p.list
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user