Skip to content

Commit e83a1a3

Browse files
committed
fix(frontend): display correct number of collaborators
1 parent 8d4292b commit e83a1a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/frontend/app/routes/_dashboard.collections.list.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,9 @@ const DisplayCollection = (props: {
334334
additionalDisplay.push(`By ${props.collection.creator.name}`);
335335
if (props.collection.count > 0)
336336
additionalDisplay.push(`${props.collection.count} items`);
337-
if (props.collection.collaborators.length > 0)
337+
if (props.collection.collaborators.length > 1)
338338
additionalDisplay.push(
339-
`${props.collection.collaborators.length} collaborators`,
339+
`${props.collection.collaborators.length - 1} collaborators`,
340340
);
341341

342342
const FallBackImage = () => (

0 commit comments

Comments
 (0)