Share links list WIP
This commit is contained in:
@@ -15,5 +15,9 @@ export default (props: Props) => {
|
||||
cursor: 'pointer',
|
||||
};
|
||||
|
||||
return <a {...props} style={style}>{props.children}</a>;
|
||||
return (
|
||||
<a {...props} style={style}>
|
||||
{props.children}
|
||||
</a>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -5,9 +5,9 @@ import { presentUser } from '.';
|
||||
function present(ctx: Object, share: Share) {
|
||||
return {
|
||||
id: share.id,
|
||||
user: presentUser(ctx, share.user),
|
||||
documentTitle: share.document.title,
|
||||
url: `${process.env.URL}/share/${share.id}`,
|
||||
createdBy: presentUser(ctx, share.user),
|
||||
createdAt: share.createdAt,
|
||||
updatedAt: share.updatedAt,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user