mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: collections orgslug issue
This commit is contained in:
parent
4ec2ef6188
commit
c1f9cda15c
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ const CollectionsPage = async (params: any) => {
|
|||
<div className="home_collections flex flex-wrap">
|
||||
{collections.map((collection: any) => (
|
||||
<div className="flex flex-col py-3 px-3" key={collection.collection_id}>
|
||||
<CollectionAdminEditsArea org_id={org_id} collection_id={collection.collection_id} collection={collection} />
|
||||
<CollectionAdminEditsArea orgslug={orgslug} org_id={org_id} collection_id={collection.collection_id} collection={collection} />
|
||||
<Link href={getUriWithOrg(orgslug, "/collection/" + removeCollectionPrefix(collection.collection_id))}>
|
||||
<div className="inset-0 ring-1 ring-inset ring-black/10 rounded-lg shadow-xl relative w-[249px] h-[180px] bg-cover flex flex-col items-center justify-center bg-indigo-600 font-bold text-zinc-50" >
|
||||
<h1 className="font-bold text-lg py-2 justify-center mb-2">{collection.name}</h1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue