2
0
mirror of https://github.com/hibiken/asynqmon.git synced 2025-10-26 16:26:12 +08:00

Use uuid prefix in task table

This commit is contained in:
Ken Hibino
2020-12-21 06:51:07 -08:00
parent ec34f52777
commit f419fd3c71
9 changed files with 28 additions and 26 deletions

View File

@@ -32,6 +32,7 @@ import TablePaginationActions, {
} from "./TablePaginationActions";
import { usePolling } from "../hooks";
import { ActiveTaskExtended } from "../reducers/tasksReducer";
import { uuidPrefix } from "../utils";
const useStyles = makeStyles({
table: {
@@ -177,7 +178,7 @@ function Row(props: { task: ActiveTaskExtended; onCancelClick: () => void }) {
</IconButton>
</TableCell>
<TableCell component="th" scope="row">
{task.id}
{uuidPrefix(task.id)}
</TableCell>
<TableCell>{task.type}</TableCell>
<TableCell align="center">