mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
switch to datePublished in asset history
This commit is contained in:
parent
67f6d3f508
commit
7df93c89ad
@ -12,8 +12,11 @@ const AssetLink = ({ asset, list }: { asset: any; list?: boolean }) => {
|
|||||||
<article className={styles.assetList}>
|
<article className={styles.assetList}>
|
||||||
<Link to={`/asset/${asset.id}`}>
|
<Link to={`/asset/${asset.id}`}>
|
||||||
<h1>{base.name}</h1>
|
<h1>{base.name}</h1>
|
||||||
<div className={styles.date} title={base.dateCreated}>
|
<div
|
||||||
{moment(base.dateCreated, 'YYYYMMDD').fromNow()}
|
className={styles.date}
|
||||||
|
title={`Published on ${base.datePublished}`}
|
||||||
|
>
|
||||||
|
{moment(base.datePublished, 'YYYYMMDD').fromNow()}
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
</article>
|
</article>
|
||||||
|
@ -52,7 +52,7 @@ export default class AssetsUser extends PureComponent<
|
|||||||
<div className={styles.assetsUser}>
|
<div className={styles.assetsUser}>
|
||||||
{this.props.recent && (
|
{this.props.recent && (
|
||||||
<h2 className={styles.subTitle}>
|
<h2 className={styles.subTitle}>
|
||||||
Your Latest Data Sets
|
Your Latest Published Data Sets
|
||||||
</h2>
|
</h2>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user