Update company card (#512)
* Add card rows * WIP - add amount * Refactor board state to separate pipeline progress data and company data * Add migration and generated code * Pass pipeline progress properties to the comapny card * WIP-editable * Enable amount edition * Nits * Remove useless import * Fix empty board bug * Use cell for editable values on company card * Add fields * Enable edition for closeDate * Add dummy edits for recurring and probability * Nits * remove useless fields * Nits * Fix user provider * Add generated code * Fix nits, reorder migrations, fix login * Fix tests * Fix lint
This commit is contained in:
@ -39,10 +39,11 @@ export function NewButton({ pipelineId, columnId }: OwnProps) {
|
||||
setBoardItems({
|
||||
...boardItems,
|
||||
[newUuid]: {
|
||||
id: company.id,
|
||||
name: company.name,
|
||||
domainName: company.domainName,
|
||||
createdAt: new Date().toISOString(),
|
||||
company,
|
||||
pipelineProgress: {
|
||||
id: newUuid,
|
||||
amount: 0,
|
||||
},
|
||||
},
|
||||
});
|
||||
setBoard(newBoard);
|
||||
|
||||
Reference in New Issue
Block a user