mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-28 06:46:24 +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
|
<ShowPageRightContainer
|
||||||
entity={{
|
entity={{
|
||||||
id: object.id,
|
id: object.id,
|
||||||
type: 'Company',
|
// TODO: refacto
|
||||||
|
type:
|
||||||
|
objectMetadataItem?.nameSingular === 'company'
|
||||||
|
? 'Company'
|
||||||
|
: objectMetadataItem?.nameSingular === 'person'
|
||||||
|
? 'Person'
|
||||||
|
: 'Person',
|
||||||
}}
|
}}
|
||||||
timeline
|
timeline
|
||||||
tasks
|
tasks
|
||||||
|
Loading…
Reference in New Issue
Block a user