mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
re-structure to monorepo.
This commit is contained in:
47
packages/webapp/src/containers/Items/ItemsAlerts.tsx
Normal file
47
packages/webapp/src/containers/Items/ItemsAlerts.tsx
Normal file
@@ -0,0 +1,47 @@
|
||||
// @ts-nocheck
|
||||
import React from 'react';
|
||||
|
||||
const ItemDeleteAlert = React.lazy(
|
||||
() => import('@/containers/Alerts/Items/ItemDeleteAlert'),
|
||||
);
|
||||
|
||||
const ItemInactivateAlert = React.lazy(
|
||||
() => import('@/containers/Alerts/Items/ItemInactivateAlert'),
|
||||
);
|
||||
|
||||
const ItemActivateAlert = React.lazy(
|
||||
() => import('@/containers/Alerts/Items/ItemActivateAlert'),
|
||||
);
|
||||
|
||||
const ItemBulkDeleteAlert = React.lazy(
|
||||
() => import('@/containers/Alerts/Items/ItemBulkDeleteAlert'),
|
||||
);
|
||||
|
||||
const cancelUnlockingPartialAlert = React.lazy(
|
||||
() =>
|
||||
import(
|
||||
'@/containers/Alerts/TransactionLocking/cancelUnlockingPartialAlert'
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Items alert.
|
||||
*/
|
||||
export default [
|
||||
{
|
||||
name: 'item-delete',
|
||||
component: ItemDeleteAlert,
|
||||
},
|
||||
{
|
||||
name: 'item-inactivate',
|
||||
component: ItemInactivateAlert,
|
||||
},
|
||||
{
|
||||
name: 'item-activate',
|
||||
component: ItemActivateAlert,
|
||||
},
|
||||
{
|
||||
name: 'items-bulk-delete',
|
||||
component: ItemBulkDeleteAlert,
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user