Skip to content

Commit

Permalink
Bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarik Huber committed Jun 27, 2023
1 parent 7ab3a86 commit 0c03e2e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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.11",
"version": "3.4.13",
"description": "material-ui-shell React component",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
5 changes: 4 additions & 1 deletion packages/material-ui-shell/src/containers/Page/ListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default function (props) {
fields = [],
list: source = [],
getPageProps = () => {},
listContainerStyle = {},
listProps,
Row,
name,
Expand All @@ -21,7 +22,7 @@ export default function (props) {
disableFilter = false,
top = null,
bottom = null,
parseList=l=>l
parseList = (l) => l,
} = props
const { openFilter, getList, getFilter, setSearch } = useFilter()
const { queries = [], search = {} } = getFilter(name)
Expand Down Expand Up @@ -56,7 +57,9 @@ export default function (props) {
{...getPageProps(list)}
>
{top}

<VirtualList list={list} name={name} listProps={listProps} Row={Row} />

{bottom}

{fields.length > 0 && <FilterDrawer fields={fields} name={name} />}
Expand Down

0 comments on commit 0c03e2e

Please sign in to comment.