mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
feat: quick create action on select/suggest items fields.
This commit is contained in:
@@ -108,7 +108,9 @@ const LandedCostHeaderCell = () => {
|
||||
/**
|
||||
* Retrieve editable items entries columns.
|
||||
*/
|
||||
export function useEditableItemsEntriesColumns({ landedCost }) {
|
||||
export function useEditableItemsEntriesColumns({
|
||||
landedCost,
|
||||
}) {
|
||||
return React.useMemo(
|
||||
() => [
|
||||
{
|
||||
@@ -129,6 +131,7 @@ export function useEditableItemsEntriesColumns({ landedCost }) {
|
||||
disableSortBy: true,
|
||||
width: 130,
|
||||
className: 'item',
|
||||
fieldProps: { allowCreate: true },
|
||||
},
|
||||
{
|
||||
Header: intl.get('description'),
|
||||
|
||||
Reference in New Issue
Block a user