mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-09 12:28:20 +03:00
Fixed activities for Person (#2658)
* Improved optimistic rendering * Fixed activities for Person
This commit is contained in:
parent
7954a2b6c2
commit
02e60da923
@ -193,7 +193,13 @@ export const RecordShowPage = () => {
|
||||
<ShowPageRightContainer
|
||||
entity={{
|
||||
id: object.id,
|
||||
type: 'Company',
|
||||
// TODO: refacto
|
||||
type:
|
||||
objectMetadataItem?.nameSingular === 'company'
|
||||
? 'Company'
|
||||
: objectMetadataItem?.nameSingular === 'person'
|
||||
? 'Person'
|
||||
: 'Person',
|
||||
}}
|
||||
timeline
|
||||
tasks
|
||||
|
Loading…
Reference in New Issue
Block a user