diff --git a/frontend/package.json b/frontend/package.json index 20b2358..b7dcb4f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "muffin-admin", - "version": "3.12.1", + "version": "3.12.2", "description": "NPM package for https://github.com/klen/muffin-admin", "files": [ "src", diff --git a/frontend/src/MuffinResourceList.tsx b/frontend/src/MuffinResourceList.tsx index 642a51f..3dbd40d 100644 --- a/frontend/src/MuffinResourceList.tsx +++ b/frontend/src/MuffinResourceList.tsx @@ -77,7 +77,7 @@ function MuffinListToolbar() { help, list: { create }, } = useMuffinResourceOpts() - const actions = baseActions.filter((a) => a.view.includes("list")) + const actions = baseActions.filter((a) => a.view?.includes("list")) return ( {help && } diff --git a/pyproject.toml b/pyproject.toml index 1e6bc77..00a4275 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "muffin-admin" -version = "3.12.1" +version = "3.12.2" description = "Admin interface for Muffin Framework" readme = "README.rst" license = "MIT"