feat: order board cards by record position (#3902)
* feat: order board cards by record position Closes #3848 * Fix tests --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -32,7 +32,7 @@ export const seedOpportunity = async (
|
||||
closeDate: new Date(),
|
||||
probability: 0.5,
|
||||
stage: 'NEW',
|
||||
position: 0,
|
||||
position: 1,
|
||||
pipelineStepId: '6edf4ead-006a-46e1-9c6d-228f1d0143c9',
|
||||
pointOfContactId: '86083141-1c0e-494c-a1b6-85b1c6fefaa5',
|
||||
companyId: 'fe256b39-3ec3-4fe3-8997-b76aa0bfa408',
|
||||
@ -45,7 +45,7 @@ export const seedOpportunity = async (
|
||||
closeDate: new Date(),
|
||||
probability: 0.5,
|
||||
stage: 'MEETING',
|
||||
position: 1,
|
||||
position: 2,
|
||||
pipelineStepId: 'd8361722-03fb-4e65-bd4f-ec9e52e5ec0a',
|
||||
pointOfContactId: '93c72d2e-f517-42fd-80ae-14173b3b70ae',
|
||||
companyId: '118995f3-5d81-46d6-bf83-f7fd33ea6102',
|
||||
@ -58,7 +58,7 @@ export const seedOpportunity = async (
|
||||
closeDate: new Date(),
|
||||
probability: 0.5,
|
||||
stage: 'PROPOSAL',
|
||||
position: 2,
|
||||
position: 3,
|
||||
pipelineStepId: '30b14887-d592-427d-bd97-6e670158db02',
|
||||
pointOfContactId: '9b324a88-6784-4449-afdf-dc62cb8702f2',
|
||||
companyId: '460b6fb1-ed89-413a-b31a-962986e67bb4',
|
||||
@ -71,7 +71,7 @@ export const seedOpportunity = async (
|
||||
closeDate: new Date(),
|
||||
probability: 0.5,
|
||||
stage: 'PROPOSAL',
|
||||
position: 3,
|
||||
position: 4,
|
||||
pipelineStepId: '30b14887-d592-427d-bd97-6e670158db02',
|
||||
pointOfContactId: '98406e26-80f1-4dff-b570-a74942528de3',
|
||||
companyId: '460b6fb1-ed89-413a-b31a-962986e67bb4',
|
||||
|
||||
Reference in New Issue
Block a user