Merge branch 'feature/item-duplicate'

This commit is contained in:
elforjani3
2021-03-03 22:42:31 +02:00
5 changed files with 51 additions and 28 deletions

View File

@@ -71,6 +71,13 @@ export default [
pageTitle: formatMessage({ id: 'edit_item' }),
backLink: true,
},
{
path: `/items/new?duplicate=/:id`,
component: lazy({
loader: () => import('containers/Items/ItemFormPage'),
}),
breadcrumb: 'Duplicate Item',
},
{
path: `/items/new`,
component: lazy(() => import('containers/Items/ItemFormPage')),