Skip to content

Commit

Permalink
add missing inventory list zones
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperkristensen committed Nov 15, 2024
1 parent 1afc577 commit 3b1c6e4
Showing 1 changed file with 11 additions and 4 deletions.
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 3b1c6e4

Please sign in to comment.