The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix the select options
Kiran K033a5de346a0
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/folders/[folderId]/members/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/folders/[folderId]/members/page-client.tsxindex cb43d4407d..4cd1ad3994 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/folders/[folderId]/members/page-client.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/folders/[folderId]/members/page-client.tsx@@ -39,7 +39,9 @@ export const FolderUsersPageClient = ({ folderId }: { folderId: string }) => {{method: "PATCH",headers: { "Content-Type": "application/json" },- body: JSON.stringify({ accessLevel }),+ body: JSON.stringify({+ accessLevel: accessLevel === "" ? null : accessLevel,+ }),},);@@ -96,11 +98,14 @@ export const FolderUsersPageClient = ({ folderId }: { folderId: string }) => {updateWorkspaceAccessLevel(e.target.value);}}>- {Object.values(FOLDER_WORKSPACE_ACCESS).map((access) => (+ {Object.keys(FOLDER_WORKSPACE_ACCESS).map((access) => (<option value={access} key={access}>{FOLDER_WORKSPACE_ACCESS[access]}</option>))}+ <option value="" key="no-access">+ No access+ </option></select></>) : (