Skip to content

Commit

Permalink
fix(dashboard): Add missing inventory list zones (#10117)
Browse files Browse the repository at this point in the history
Resolves CMRC-710
  • Loading branch information
kasperkristensen authored Nov 15, 2024
1 parent 1afc577 commit 8ed3d87
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-rockets-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/dashboard": patch
---

fix(dashboard): Add missing inventory_item.list.\* widgets
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
import { SingleColumnPage } from "../../../components/layout/pages"
import { useDashboardExtension } from "../../../extensions"
import { InventoryListTable } from "./components/inventory-list-table"
import { Outlet } from "react-router-dom"

export const InventoryItemListTable = () => {
const { getWidgets } = useDashboardExtension()

return (
<div className="flex flex-col gap-y-2">
<SingleColumnPage
widgets={{
after: getWidgets("inventory_item.list.after"),
before: getWidgets("inventory_item.list.before"),
}}
>
<InventoryListTable />
<Outlet />
</div>
</SingleColumnPage>
)
}

0 comments on commit 8ed3d87

Please sign in to comment.