Fix all ESLint errors
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-28 12:25:04 +01:00
parent 3bf8859ff9
commit f5202f596d
21 changed files with 74 additions and 44 deletions

View File

@ -115,8 +115,8 @@ function VMListWidget(p: {
</TableRow>
</TableHead>
<TableBody>
{p.groups.map((g, num) => (
<React.Fragment key={num}>
{p.groups.map((g) => (
<React.Fragment key={g}>
{p.groups.length > 1 && (
<TableRow>
<TableCell
@ -125,7 +125,9 @@ function VMListWidget(p: {
>
<IconButton
size="small"
onClick={() => { toggleHiddenGroup(g); }}
onClick={() => {
toggleHiddenGroup(g);
}}
>
{!hiddenGroups.has(g) ? (
<KeyboardArrowUpIcon />
@ -157,7 +159,9 @@ function VMListWidget(p: {
<TableCell>
<VMStatusWidget
vm={row}
onChange={(s) => { updateVMState(row, s); }}
onChange={(s) => {
updateVMState(row, s);
}}
/>
</TableCell>
<TableCell>