Skip to content

Commit

Permalink
Adapt users to playbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
r-dvl committed May 17, 2024
1 parent 8d98598 commit ae78d99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui/src/sections/playbooks/playbook-table-toolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function PlaybookTableToolbar({ numSelected, filterName, onFilter
<OutlinedInput
value={filterName}
onChange={onFilterName}
placeholder="Search user..."
placeholder="Search playbook..."
startAdornment={
<InputAdornment position="start">
<Iconify
Expand Down
4 changes: 2 additions & 2 deletions ui/src/sections/playbooks/view/playbooks-view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export default function PlaybooksPage() {

<TableEmptyRows
height={77}
emptyRows={emptyRows(page, rowsPerPage, users.length)}
emptyRows={emptyRows(page, rowsPerPage, playbooks.length)}
/>

{notFound && <TableNoData query={filterName} />}
Expand All @@ -215,7 +215,7 @@ export default function PlaybooksPage() {
<TablePagination
page={page}
component="div"
count={users.length}
count={playbooks.length}
rowsPerPage={rowsPerPage}
onPageChange={handleChangePage}
rowsPerPageOptions={[5, 10, 25]}
Expand Down

0 comments on commit ae78d99

Please sign in to comment.