Merge pull request #317 from linkwarden/dev

Dev
This commit is contained in:
Daniel
2023-11-24 22:27:45 +03:30
committed by GitHub
4 changed files with 52 additions and 6 deletions
+5 -2
View File
@@ -185,8 +185,11 @@ export default function PublicCollections() {
) : null}
<p className="ml-2 mt-1 text-gray-500 dark:text-gray-300">
By {collectionOwner.name} and {collection.members.length}{" "}
others.
By {collectionOwner.name}
{collection.members.length > 0
? ` and ${collection.members.length} others`
: undefined}
.
</p>
</div>
</div>