Skip to content

Commit

Permalink
feat(notice): Show notice last update date instead of creation date o…
Browse files Browse the repository at this point in the history
…n detailed view.
  • Loading branch information
lutangar committed Apr 20, 2020
1 parent ec223e5 commit e245966
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/organisms/NoticeDetails/NoticeDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class NoticeDetails extends PureComponent<NoticeDetailsProps, CountDownState> {
const {
notice: {
message,
created,
modified,
contributor,
ratings: { likes, dislikes },
state: { liked, disliked, dismissed }
Expand All @@ -205,7 +205,7 @@ class NoticeDetails extends PureComponent<NoticeDetailsProps, CountDownState> {
onClick={this.handleContributorClicked}
/>
<DetailsMetaValue>
<Date>Le {format(created, 'DD/MM/YYYY')}</Date>
<Date>Le {format(modified, 'DD/MM/YYYY')}</Date>
<ContributorNotice onClick={this.handleContributorClicked}>
{contributor.name} :
</ContributorNotice>
Expand Down

0 comments on commit e245966

Please sign in to comment.