From 903550b41cee6d64d8cea5e0d342bd242b6b6336 Mon Sep 17 00:00:00 2001 From: Andrew Nicolaou Date: Wed, 15 Jan 2020 10:45:50 +0100 Subject: [PATCH] Collection owner's username links to their sketches page --- client/modules/User/components/Collection.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/modules/User/components/Collection.jsx b/client/modules/User/components/Collection.jsx index 4e9d5348..9644d0dc 100644 --- a/client/modules/User/components/Collection.jsx +++ b/client/modules/User/components/Collection.jsx @@ -221,7 +221,9 @@ class Collection extends React.Component { }

-

Collection by {owner.username}

+

Collection by{' '} + {owner.username} +

{items.length} sketch{items.length === 1 ? '' : 'es'}