Merge pull request #4380 from Infisical/role-descriptions

improvement(frontend): display role descriptions in invite user/add project membership filter selects
This commit is contained in:
Scott Wilson
2025-08-14 08:45:03 -07:00
committed by GitHub
5 changed files with 43 additions and 2 deletions
@@ -6,6 +6,7 @@ import { useNavigate, useSearch } from "@tanstack/react-router";
import { z } from "zod";
import { createNotification } from "@app/components/notifications";
import { RoleOption } from "@app/components/roles";
import {
Alert,
AlertDescription,
@@ -320,6 +321,7 @@ export const AddMemberModal = ({ popUp, handlePopUpToggle }: Props) => {
>
<FilterableSelect
options={roles}
components={{ Option: RoleOption }}
placeholder="Select roles..."
value={value}
onChange={onChange}