Поменял порядок колонок

jwt
Rinsvent 2 years ago
parent e55472eca4
commit 0e84517190
  1. 18
      components/elements/processes/index.tsx

@ -114,8 +114,8 @@ export default function Processes() {
<TableRow> <TableRow>
<TableCell>Name</TableCell> <TableCell>Name</TableCell>
<TableCell>Progress</TableCell> <TableCell>Progress</TableCell>
<TableCell>Action</TableCell>
<TableCell>Status</TableCell> <TableCell>Status</TableCell>
<TableCell>Action</TableCell>
</TableRow> </TableRow>
</TableHead> </TableHead>
<TableBody> <TableBody>
@ -139,14 +139,6 @@ export default function Processes() {
<StopCircle/> <StopCircle/>
</IconButton>} </IconButton>}
</TableCell> </TableCell>
<TableCell>
{canRepeat(process) && <IconButton title={`Repeat`} aria-label="Repeat">
<Replay/>
</IconButton>}
{canKill(process) && <IconButton title={`Kill`} aria-label="Kill">
<DeleteForever/>
</IconButton>}
</TableCell>
<TableCell> <TableCell>
{Status.Error === status(process) && <IconButton title={`Error`} aria-label="Error"> {Status.Error === status(process) && <IconButton title={`Error`} aria-label="Error">
<ErrorOutline/> <ErrorOutline/>
@ -164,6 +156,14 @@ export default function Processes() {
<HourglassEmpty/> <HourglassEmpty/>
</IconButton>} </IconButton>}
</TableCell> </TableCell>
<TableCell>
{canRepeat(process) && <IconButton title={`Repeat`} aria-label="Repeat">
<Replay/>
</IconButton>}
{canKill(process) && <IconButton title={`Kill`} aria-label="Kill">
<DeleteForever/>
</IconButton>}
</TableCell>
</TableRow> </TableRow>
))} ))}
</TableBody> </TableBody>

Loading…
Cancel
Save