Selectively show the additional metadata if it isn't in the display string at all

This commit is contained in:
DaneEveritt 2022-06-12 15:30:49 -04:00
parent 88987fb6c7
commit 68a654f9e8
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 33 additions and 7 deletions

View file

@ -73,7 +73,7 @@ export default ({ activity, children }: Props) => {
</Tooltip>
</div>
</div>
<ActivityLogMetaButton meta={activity.properties}/>
{activity.hasAdditionalMetadata && <ActivityLogMetaButton meta={activity.properties}/>}
</div>
</div>
);