Skip to content

Commit

Permalink
Updted list page
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarik Huber committed May 11, 2023
1 parent aef7bff commit 5a4dcc6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/material-ui-shell/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/material-ui-shell/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "material-ui-shell",
"version": "3.4.10",
"version": "3.4.11",
"description": "material-ui-shell React component",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/material-ui-shell/src/containers/Page/ListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ export default function (props) {
getPageProps = () => {},
listProps,
Row,

name,
trailing = null,
leading = null,
disableSearch = false,
disableFilter = false,
top = null,
bottom = null,
parseList=l=>l
} = props
const { openFilter, getList, getFilter, setSearch } = useFilter()
const { queries = [], search = {} } = getFilter(name)
const { value: searchValue = '' } = search

const list = getList(name, source, fields)
const list = parseList(getList(name, source, fields))

return (
<Page
Expand Down

0 comments on commit 5a4dcc6

Please sign in to comment.