Skip to content

Commit

Permalink
add created by
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshsadhwani99 committed Apr 26, 2024
1 parent 0031f20 commit a79e807
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions web/src/components/Playbooks/PlayBookTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const PlaybookTableRender = ({ data, refreshTable, showDelete = true }) => {
<TableRow>
<TableCell className={styles["tableTitle"]}>Name</TableCell>
<TableCell className={styles["tableTitle"]}>Created At</TableCell>
<TableCell className={styles["tableTitle"]}>Created By</TableCell>
{showDelete && (
<TableCell className={styles["tableTitle"]}>Actions</TableCell>
)}
Expand All @@ -63,16 +64,19 @@ const PlaybookTableRender = ({ data, refreshTable, showDelete = true }) => {
sx={{
"&:last-child td, &:last-child th": { border: 0 },
}}>
<TableCell component="th" scope="row">
<TableCell component="td" scope="row">
<Link to={`/playbooks/${item.id}`} className={styles["link"]}>
{item.name}
</Link>
</TableCell>
<TableCell component="th" scope="row">
<TableCell component="td" scope="row">
{renderTimestamp(item.created_at)}
</TableCell>
<TableCell component="td" scope="row">
{item.created_by}
</TableCell>
{showDelete && (
<TableCell component="th" scope="row">
<TableCell component="td" scope="row">
<div className="flex gap-2">
<button
className={styles["pb-button"]}
Expand Down

0 comments on commit a79e807

Please sign in to comment.