diff --git a/fixtures/activity_feed/companies_house/accounts_are_due.json b/fixtures/activity_feed/companies_house/accounts_are_due.json index 6aeae759..77b10910 100755 --- a/fixtures/activity_feed/companies_house/accounts_are_due.json +++ b/fixtures/activity_feed/companies_house/accounts_are_due.json @@ -19,6 +19,7 @@ "dit:shareholderFunds": 1, "dit:taxonomy": "http://some.url/with/stuff/2019-07-27", "id": "dit:externalSources:companies_house.accounts:5d39ab9ac0d4899610cd65e4", + "startTime": "2020-12-13T01:11:18", "type": [ "Event", "dit:Accounts" diff --git a/fixtures/activity_feed/companies_house/incorporated.json b/fixtures/activity_feed/companies_house/incorporated.json index 16479354..26cc2aa5 100755 --- a/fixtures/activity_feed/companies_house/incorporated.json +++ b/fixtures/activity_feed/companies_house/incorporated.json @@ -40,6 +40,7 @@ "99000 - Activities of extraterritorial organisations and bodies" ], "id": "dit:externalSources:companies_house.companies:7", + "startTime": "1970-10-03T02:18:21", "type": [ "Organization", "dit:Company" diff --git a/fixtures/activity_feed/hmrc/export_of_goods.json b/fixtures/activity_feed/hmrc/export_of_goods.json index 5e751073..c75b950a 100755 --- a/fixtures/activity_feed/hmrc/export_of_goods.json +++ b/fixtures/activity_feed/hmrc/export_of_goods.json @@ -13,6 +13,7 @@ "type": "Announce", "object": { "id": "dit:externalSources:hmrc.exporters:5d39b0c9a2b09a36f9f243bf", + "startTime": "1879-01-05T06:53:47", "type": [ "Event", "dit:Export" diff --git a/src/activity-feed/activity-feed-cards/CompaniesHouseAccount.jsx b/src/activity-feed/activity-feed-cards/CompaniesHouseAccount.jsx index c1723e0c..f33d914a 100644 --- a/src/activity-feed/activity-feed-cards/CompaniesHouseAccount.jsx +++ b/src/activity-feed/activity-feed-cards/CompaniesHouseAccount.jsx @@ -30,8 +30,7 @@ export default class CompaniesHouseAccount extends React.PureComponent { render() { const { activity, showDetails } = this.props - - const published = get(activity, 'published') + const startTime = get(activity, 'object.startTime') const reference = get(activity, 'object.name') const taxonomy = get(activity, 'dit:taxonomy') const summary = get(activity, 'summary') @@ -52,7 +51,7 @@ export default class CompaniesHouseAccount extends React.PureComponent { summary={summary} /> - + - + - +