Skip to content

Commit

Permalink
Add company to default opportunity fields (#5075)
Browse files Browse the repository at this point in the history
Fixes #4484 

<img width="1904" alt="Screenshot 2024-04-21 at 6 58 10 AM"
src="https://github.com/twentyhq/twenty/assets/21654351/dd1dcd3b-3bbe-48d9-8576-dc6e885fc11e">
  • Loading branch information
DevanandGowda authored Apr 23, 2024
1 parent 0db35c9 commit bd2a6cb
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const viewOpportunityFields = (
{
fieldMetadataId:
objectMetadataMap[STANDARD_OBJECT_IDS.opportunity].fields[
OPPORTUNITY_STANDARD_FIELD_IDS.probability
OPPORTUNITY_STANDARD_FIELD_IDS.company
],
viewId: viewId,
position: 3,
Expand All @@ -50,12 +50,22 @@ export const viewOpportunityFields = (
{
fieldMetadataId:
objectMetadataMap[STANDARD_OBJECT_IDS.opportunity].fields[
OPPORTUNITY_STANDARD_FIELD_IDS.pointOfContact
OPPORTUNITY_STANDARD_FIELD_IDS.probability
],
viewId: viewId,
position: 4,
isVisible: true,
size: 150,
},
{
fieldMetadataId:
objectMetadataMap[STANDARD_OBJECT_IDS.opportunity].fields[
OPPORTUNITY_STANDARD_FIELD_IDS.pointOfContact
],
viewId: viewId,
position: 5,
isVisible: true,
size: 150,
},
];
};

0 comments on commit bd2a6cb

Please sign in to comment.