Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

fix: allow admin members to create subcollections

9helix7a34d836bec9
diff --git a/apps/web/pages/collections/[id].tsx b/apps/web/pages/collections/[id].tsx
index d70c8cc2..46a13f6a 100644
--- a/apps/web/pages/collections/[id].tsx
+++ b/apps/web/pages/collections/[id].tsx
@@ -190,7 +190,7 @@ const Page: NextPageWithLayout = () => {
: t("view_team")}
</DropdownMenuItem>
- {permissions === true && (
+ {(permissions === true || permissions?.canCreate) && (
<DropdownMenuItem onClick={() => setNewCollectionModal(true)}>
<i className="bi-folder-plus" />
{t("create_subcollection")}