Skip to content

Commit

Permalink
fix(details): add lastupdatedby
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Oct 25, 2023
1 parent 2e01ab4 commit dead6f4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const defaultQueryFields = [
'code',
'created',
'lastUpdated',
'lastUpdatedBy',
'displayName',
'id',
'shortName',
Expand Down Expand Up @@ -89,6 +90,9 @@ const DetailsContent = ({ data }: { data: DetailsResponse }) => {
<DetailItem label={i18n.t('Created')}>
<ClientDateTime value={data.created} />
</DetailItem>
<DetailItem label={i18n.t('Last updated by')}>
{data.lastUpdatedBy.displayName}
</DetailItem>
<DetailItem label={i18n.t('Last updated')}>
<ClientDateTime value={data.lastUpdated} />
</DetailItem>
Expand Down

0 comments on commit dead6f4

Please sign in to comment.